Re: [vserver] Bug#633526: vserver kernel breaks ssh public_key authentication on NFS

From: Art -kwaak- van Breemen <ard_at_telegraafnet.nl>
Date: Tue 12 Jul 2011 - 18:37:40 BST
Message-ID: <20110712173739.GA24534@telegraafnet.nl>

On Tue, Jul 12, 2011 at 07:17:59PM +0200, Art -kwaak- van Breemen wrote:
> Actually, try ls -al ... then cat the file, and then ls -al it
> again...
> It should behave the same as if sshd tried reading it...
Just browsing the patch, it looks like
                 if (fattr->valid & NFS_ATTR_FATTR_OWNER)
and
                 if (fattr->valid & NFS_ATTR_FATTR_GROUP)
(in fs/nfs/inode.c nfs_fhget)
are not valid, and hence the invalid id of -2 is unaltered.

Got to go now :-(
Received on Tue Jul 12 18:37:48 2011

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 12 Jul 2011 - 18:37:48 BST by hypermail 2.1.8