aboutsummaryrefslogtreecommitdiff
path: root/libfshelp/perms-access.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix root access to non-regular filesSamuel Thibault2009-08-231-1/+1
| | | | | * libfshelp/perms-access.c (fshelp_access): Only check the x permission for root on regular files.
* * perms-access.c (fshelp_access): If user->uids contain 0 and the opSamuel Thibault2008-07-141-1/+1
| | | | | is S_IEXEC, return 1 only if st_mode contains at least one executable bit.
* 1999-07-01 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-011-0/+43
* 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.