summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-12-23New file. Test for today's mkdir-p.c fix.Jim Meyering
2005-12-23*** empty log message ***Jim Meyering
2005-12-23(make_dir_parents): Use chdir_no_follow onlyJim Meyering
if we've just created the directory.
2005-12-23*** empty log message ***Jim Meyering
2005-12-23*** empty log message ***Jim Meyering
2005-12-23(chdir_no_follow): Rewrite to use fchdir evenJim Meyering
when O_NOFOLLOW is not defined. Suggested by Eric Blake.
2005-12-23*** empty log message ***Jim Meyering
2005-12-23(O_NOFOLLOW): Define, if necessary.Jim Meyering
2005-12-23(O_NOFOLLOW): Define.Jim Meyering
2005-12-22*** empty log message ***Jim Meyering
2005-12-22*** empty log message ***Jim Meyering
2005-12-22redirect stderr to /dev/full, too (to suppress write error diagnostic)Jim Meyering
2005-12-22*** empty log message ***Jim Meyering
2005-12-22Include "fcntl--.h" and "unistd--.h", to map openJim Meyering
and dup to open_safer and dup_safer, respectively. (openat_permissive): Fix typo in comment.
2005-12-21.Jim Meyering
2005-12-21*** empty log message ***Jim Meyering
2005-12-21Require gl_CHDIR_SAFER.Jim Meyering
2005-12-21.Jim Meyering
2005-12-21*** empty log message ***Jim Meyering
2005-12-21like chdir(2), but safer, if possibleJim Meyering
2005-12-20*** empty log message ***Jim Meyering
2005-12-20(RW_USR): Remove definition.Jim Meyering
(make_dir_parents): Use S_IRWXU, now that read access is also required. Avoid a race condition, on systems where open honors O_NOFOLLOW. (make_dir_parents): Include chdir-safer.h. Use chdir_no_follow in place of chdir.
2005-12-20*** empty log message ***Jim Meyering
2005-12-20(make_dir_parents): Remove unnecessary casts of alloca,Jim Meyering
since now it's guaranteed to be (void *).
2005-12-20*** empty log message ***Jim Meyering
2005-12-20(fchmod_new): Don't try to close fd if it's < 0.Jim Meyering
2005-12-19.Jim Meyering
2005-12-19.Jim Meyering
2005-12-19(TESTS): Add mknod.Jim Meyering
2005-12-19(main) Avoid a minor race condition when `-m MODE' is specified, by usingJim Meyering
open, fchown, and close rather than just chown. To do that reliably (even with an overly restrictive umask), ensure that each mknod call uses a mode including at least owner-read access. (main): When `-m MODE' is specified, exit nonzero if the subsequent chown (or equivalent open,fchown,close) fails.
2005-12-19(main) Avoid a minor race condition when `-m MODE' is specified, by usingJim Meyering
open, fchown, and close rather than just chown. To do that reliably (even with an overly restrictive umask), ensure that each mkdir call uses a mode including at least owner-read access.
2005-12-19(main) Avoid a minor race condition when `-m MODE' is specified, by usingJim Meyering
open, fchown, and close rather than just chown. To do that reliably (even with an overly restrictive umask), ensure that each mknod/mkfifo call uses a mode including at least owner-read access.
2005-12-19.Jim Meyering
2005-12-19.Jim Meyering
2005-12-19.Jim Meyering
2005-12-19Require gl_CHMOD_SAFER.Jim Meyering
2005-12-17*** empty log message ***Jim Meyering
2005-12-17(is_empty_dir): Open with O_NDELAY, so we don't hang, e.g., on a named pipe.Jim Meyering
(OPEN_NO_FOLLOW_SYMLINK): Remove definition. Use O_NOFOLLOW in place of all uses, since it is guaranteed (system.h) to be defined.
2005-12-17*** empty log message ***Jim Meyering
2005-12-17Add lib/acl.c.Jim Meyering
2005-12-17*** empty log message ***Jim Meyering
2005-12-17(stat invocation) [--printf]: Describe new option.Jim Meyering
[--format]: Add example. Distinguish from --printf. Sort option descriptions.
2005-12-17.Jim Meyering
2005-12-17*** empty log message ***Jim Meyering
2005-12-17*** empty log message ***Jim Meyering
2005-12-17(ls): Clarify the Alternate Access Method description.Jim Meyering
(cp): Clarify that --preserve=mode also preserves acls.
2005-12-17(cp_option_init): Don't set umask_kill member.Jim Meyering
2005-12-17(cp_option_init): Don't set umask_kill member.Jim Meyering
2005-12-17(cp_option_init) [umask_kill]: Remove member.Jim Meyering
2005-12-17(umask_kill): With default acls, the umask is not to be applied.Jim Meyering
Remove umask_kill, don't change the process umask, and let the kernel apply the umask where appropriate. (make_dir_parents_private): Fix logic for POSIX ACLs.