Re: [PATCH 1/3] VFS: Fix access("file", X_OK) in the presence of ACLs

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

 



On Thu, 2006-07-13 at 09:59 -0400, Peter Staubach wrote:
> Does this imply that some of the code in places like generic_permission(),
> fuse_permission(), and xfs_iaccess() can be cleaned up too?  They contain
> code which appears to check to ensure that an exec bit is on before allowing
> an override.

They probably can.

Note, though, that we still have a problem with NTFS or NFSv4 acls:
unlike POSIX acls, those permit you to give a particular user execute
rights without having an execute mode bit set.

If we want to allow Linux to support that type of ACL, then we will in
fact need to move the mode bit check down into the filesystems, and
remove the VFS override.
The patches that I sent in have shied short of doing this (they only
remove the existing inconsistency within the VFS) but I'd be happy to
write something up if Al is willing to consider it.

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

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux