summaryrefslogtreecommitdiff
path: root/lib/chown.c
AgeCommit message (Collapse)Author
2005-12-27(rpl_chown) [CHOWN_MODIFIES_SYMLINK]:Paul Eggert
Don't try O_WRONLY unless O_RDONLY failed wth EACCES. Fall back on chown if open failed with EACCES.
2005-09-22Sync from gnulib.Paul Eggert
2005-07-02Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally.Jim Meyering
2005-07-01Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally,Jim Meyering
and don't include <sys/file.h>).
2005-05-20(rpl_chown): Return -1 on failure.Paul Eggert
2005-05-14Update FSF postal mail address.Jim Meyering
2004-08-09(rpl_chown): Work even if the file is writeable but not readable.Paul Eggert
2004-08-02(errno): Remove decl; we now assume C89 or better.Paul Eggert
2004-05-01(rpl_chown) [CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE]:Jim Meyering
Wrap old code with this conditional. [CHOWN_MODIFIES_SYMLINK]: Try to work around a chown function that does not dereference symlinks.
2000-08-07back out Copyright date changes for files with no changes yearJim Meyering
2000-07-09update copyright dateJim Meyering
1998-12-07ansideclifyJim Meyering
1998-03-15Use #if, not #ifdef with HAVE_ macrosJim Meyering
1997-12-21(rpl_chown): Rename from chown.Jim Meyering
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-03-13.Jim Meyering
1997-03-12.Jim Meyering
1997-03-11.Jim Meyering