1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-06-06 09:46:46 +02:00
Commit Graph

17 Commits

Author SHA1 Message Date
Paul Eggert ee7334652f (rpl_chown) [CHOWN_MODIFIES_SYMLINK]:
Don't try O_WRONLY unless O_RDONLY failed wth EACCES.
Fall back on chown if open failed with EACCES.
2005-12-27 07:56:33 +00:00
Paul Eggert 2d0c5eefd0 Sync from gnulib. 2005-09-22 06:05:39 +00:00
Jim Meyering 410f98fc2b Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally. 2005-07-02 08:41:46 +00:00
Jim Meyering 58076430c3 Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally,
and don't include <sys/file.h>).
2005-07-01 20:55:29 +00:00
Paul Eggert 7a905c6ecc (rpl_chown): Return -1 on failure. 2005-05-20 22:48:08 +00:00
Jim Meyering 116e6fb244 Update FSF postal mail address. 2005-05-14 07:58:06 +00:00
Paul Eggert 1ff6d6ea07 (rpl_chown): Work even if the file is writeable but not readable. 2004-08-09 23:33:53 +00:00
Paul Eggert fd0ca86dd2 (errno): Remove decl; we now assume C89 or better. 2004-08-02 22:41:37 +00:00
Jim Meyering 87cb7bca64 (rpl_chown) [CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE]:
Wrap old code with this conditional.
[CHOWN_MODIFIES_SYMLINK]: Try to work around a chown
function that does not dereference symlinks.
2004-05-01 14:36:29 +00:00
Jim Meyering 51b6b653a2 back out Copyright date changes for files with no changes year 2000-08-07 15:48:18 +00:00
Jim Meyering fde850f7ad update copyright date 2000-07-09 07:22:43 +00:00
Jim Meyering 7d60769bea ansideclify 1998-12-07 03:12:10 +00:00
Jim Meyering bfbc3ce20c Use #if, not #ifdef with HAVE_ macros 1998-03-15 11:09:10 +00:00
Jim Meyering 27d24b46ad (rpl_chown): Rename from chown.
Undefine chown just after including config.h.
Include sys/stat.h.
Use correct ordering of uid and gid parameters both in function
definition and in call to chown.
With patches from Kaveh Ghazi.
1997-12-21 11:17:20 +00:00
Jim Meyering 5ed7bf6069 . 1997-03-13 05:17:16 +00:00
Jim Meyering a9616d4982 . 1997-03-12 01:26:15 +00:00
Jim Meyering f1fbec95d5 . 1997-03-11 05:11:09 +00:00