All of lore.kernel.org
 help / color / mirror / Atom feed
From: "art" <art@usfltd.com>
To: <linux-kernel@vger.kernel.org>
Cc: <jeffm@suse.com>
Subject: Re: kernel-2.6.16-rc2-git8 - reiserfs - write problem !!!
Date: Sun, 12 Feb 2006 01:56:52 -0600	[thread overview]
Message-ID: <200602120156.AA112460246@usfltd.com> (raw)

FROM:   	   	
Jeffrey Mahoney <jeffm@suse.com> | Save Address
DATE: 	  	Sat, 11 Feb 2006 16:58:20 -0500
TO: 	  	<art@usfltd.com>  
SUBJECT: 	  	Re: kernel-2.6.16-rc2-git8 - reiserfs 3.6 - write problem !!!
  	
  	art wrote:
> kernel-2.6.16-rc2-git8 - reiserfs - write problem !!!
>
> it started ~from kernel-2.6.16-rc2
> 2.6.16-rc1-git6 works ok
>
> with 2.6.16-rc2-git8
> --reiserfs is 3.6 on ide hdd mounted on /mnt on scsi-hdd with ext3 on it--
> mount
> /dev/hda1 on /mnt/mountpoint-reiserfs type reiserfs (rw)
> /dev/sdb1 on /mnt/mountpoint-ext3 type ext3 (rw)
>
> [bebe@localhost mnt]$ ls -l -Z
> drwxr-xr-x root root system_u:object_r:file_t mountpoint-ext3
> drwxr-xr-x root root system_u:object_r:file_t mountpoint-reiserfs
>
> [root@localhost mountpoint-ext3]# ls -Z
> drwxrwxrwx root root root:object_r:file_t abc
> drwxr-xr-x bebe bebe root:object_r:file_t def
> drwx------  root root system_u:object_r:file_t lost+found
>
> [root@localhost mountpoint-reiserfs]# ls -Z
> drwxr-xr--  bebe bebe system_u:object_r:file_t abc
> drwxr-xr-x  root root system_u:object_r:file_t def
>
> [bebe@localhost abc]$ su
> Password:
> [root@localhost abc]# ls >xxxxxx
> bash: xxxxxx: Permission denied
> [root@localhost abc]#
>
> same in targeted and permissive mode in selinux
>
> up to 2.6.16-rc1-git6 it works OK

Can you post the output of 'lsattr <dir>' where you get permission
denied? Also, please include any relevant dmesg output as well.

-Jeff
------------------------------------

mount /dev/hda1 /mnt/mountpoint-reiserfs
mount /dev/sdb1 /mnt/mountpoint-ext3

kernel-2.6.16-rc1-git6     OK

[bebe@localhost ~]$ cd /mnt
[bebe@localhost mnt]$ lsattr
------------- ./mountpoint-ext3
lsattr: Inappropriate ioctl for device While reading flags on ./mountpoint-reiserfs
[bebe@localhost mnt]$

[bebe@localhost mnt]$ cd  mountpoint-reiserfs
[bebe@localhost mountpoint-reiserfs]$ lsattr
lsattr: Inappropriate ioctl for device While reading flags on ./v
lsattr: Inappropriate ioctl for device While reading flags on ./tmp

[bebe@localhost mountpoint-reiserfs]$

kernel-2.6.16-rc1-git6     OK

-----------------------------------

kernel-2.6.16-rc2-git9     BAD

[bebe@localhost ~]$ cd /mnt
[bebe@localhost mnt]$ lsattr
------------- ./mountpoint-ext3
su---ad-cjI-- ./mountpoint-reiserfs

[bebe@localhost mnt]$ cd mountpoint-reiserfs
[bebe@localhost mountpoint-reiserfs]$ lsattr
s-S-i-dAc--t- ./v
s-S-i-dAc--t- ./tmp

kernel-2.6.16-rc2-git9     BAD

looks like system automaticly sets attribs mounting reiserfs

"A file with the `i' attribute cannot be modified: it cannot be deleted or renamed, no link can be created to this file and no data can be written to the file. Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability can set or clear this attribute."

"A file with the `a' attribute set can only be open in append mode for writing. Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability can set or clear this attribute."

xboom


             reply	other threads:[~2006-02-12  7:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-12  7:56 art [this message]
2006-02-12 16:28 ` kernel-2.6.16-rc2-git8 - reiserfs - write problem !!! Jeff Mahoney
2006-02-12 17:52 ` Jeff Mahoney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200602120156.AA112460246@usfltd.com \
    --to=art@usfltd.com \
    --cc=jeffm@suse.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.