[4.13-rc2 regression] NFSv4 fails file permission tests in fstests generic/126

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I saw a new NFS failure in 4.13-rc2 kernel when running fstests
generic/126 on NFSv4 mounts, 4.13-rc1 kernel passed the same test.

git bisect pointed the first bad to commit bd8b2441742b.

commit bd8b2441742b49c76bec707757bd9c028ea9838e
Author: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx>
Date:   Tue Jul 11 17:54:34 2017 -0400

    NFS: Store the raw NFS access mask in the inode's access cache
    
    Signed-off-by: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx>
    Signed-off-by: Anna Schumaker <Anna.Schumaker@xxxxxxxxxx>

I can reproduce it manually with these steps:

mount -t nfs -o vers=4.1 server:/export /mnt/nfs
cp /usr/bin/ls /mnt/nfs
chmod 001 /mnt/nfs/ls
chown 99:99 /mnt/nfs/ls
su testuser -c "/mnt/nfs/ls"

(testuser uid and gid are not 99.)

The last command got permission denied with 4.13-rc2.

Thanks,
Eryu
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux