aboutsummaryrefslogtreecommitdiffstats
path: root/lib/chown.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2006-08-21Remove from CVS, since the bootstrap script generates them automatically.Paul Eggert1-102/+0
2005-12-27(rpl_chown) [CHOWN_MODIFIES_SYMLINK]:Paul Eggert1-10/+27
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 Eggert1-1/+3
2005-07-02Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally.Jim Meyering1-3/+1
2005-07-01Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally,Jim Meyering1-5/+1
and don't include <sys/file.h>).
2005-05-20(rpl_chown): Return -1 on failure.Paul Eggert1-2/+2
2005-05-14Update FSF postal mail address.Jim Meyering1-1/+1
2004-08-09(rpl_chown): Work even if the file is writeable but not readable.Paul Eggert1-2/+3
2004-08-02(errno): Remove decl; we now assume C89 or better.Paul Eggert1-3/+0
2004-05-01(rpl_chown) [CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE]:Jim Meyering1-2/+38
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 Meyering1-1/+1
2000-07-09update copyright dateJim Meyering1-1/+1
1998-12-07ansideclifyJim Meyering1-4/+1
1998-03-15Use #if, not #ifdef with HAVE_ macrosJim Meyering1-1/+1
1997-12-21(rpl_chown): Rename from chown.Jim Meyering1-6/+11
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 Meyering1-2/+11
1997-03-12.Jim Meyering1-1/+1
1997-03-11.Jim Meyering1-0/+44