Hello

On Thu, 2005-01-20 at 21:45, Aaron D.Ball wrote:
> When I use the kernel-based NFS server to export directories on 
> ReiserFS that have the append-only attribute set, I can't access the 
> files from the client machines at all:  for example, "ls" returns 
> "operation not permitted".  Is this a known bug?  Is there a good 
> workaround?
> 

It looks like the problem is not in reiserfs, but in nfsd.
fs/nfsd/vfs.c:nfsd_open() refuses to open append only files.

        /* Disallow access to files with the append-only bit set or
         * with mandatory locking enabled
         */
        err = nfserr_perm;
        if (IS_APPEND(inode) || IS_ISMNDLK(inode))
                goto out;


> I'm running up-to-date Debian sid with Linux 2.6.10 compiled from the 
> stock Debian kernel-source package.  Everything works fine in other 
> contexts, such as
> 
> * direct access on the server
> * access via Samba
> * access via the userspace NFS server (which I'm using as a workaround 
> for now)
> 
> I'd really like to get things working with the kernel-based server so I 
> can have locks.  Abandoning extended attributes would mean I have to 
> monitor certain files and directories for changes and check them after 
> the fact rather than simply blocking all the changes I don't want.  Is 
> there hope?  Am I just doing something dumb?
> 
> 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to