summaryrefslogtreecommitdiff
path: root/libfshelp/perms-access.c
AgeCommit message (Collapse)Author
2009-08-23Fix root access to non-regular filesSamuel Thibault
* libfshelp/perms-access.c (fshelp_access): Only check the x permission for root on regular files.
2008-07-14 * perms-access.c (fshelp_access): If user->uids contain 0 and the opSamuel Thibault
is S_IEXEC, return 1 only if st_mode contains at least one executable bit.
1999-07-011999-07-01 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* translated.c: New file; guts from fshelp.h. * perms-isowner.c: Likewise. * perms-access.c: Likewise. * prems-checkdirmod.c: Likewise. * touch.c: Likewise. * fshelp.h (fshelp_translated, fshelp_isowner, fshelp_access, fshelp_checkdirmod, fshelp_touch): Replace inline definitions with ordinary declarations. (FSHELP_EI): Removed macro. * fshelp.c: Deleted file. * Makefile (SRCS): Added translated.c, perms-isowner.c, perms-access.c, perms-checkdirmod.c, touch.c. Removed fshelp.c.