euidaccess/faccessat vs. ACLs

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

 



Hi,

the euidaccess and faccessat(AT_EACCESS) functions are emulated in glibc
and only look at the file's uid/gid.  They do not take ACLs into
account, and this can cause subtle bugs.  This should be noted in the
BUGS section.

Also, the AT_SYMLINK_NOFOLLOW flag to faccessat currently will not work
if specified alone, because Linux does not have an laccess() system
call.  It works if specified together with AT_EACCESS, modulo the above
ACL bug of course.

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




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux