aboutsummaryrefslogtreecommitdiffstats
path: root/src/chown-core.c (follow)
AgeCommit message (Expand)AuthorFilesLines
2008-02-28Make copyright comments consistent.Jim Meyering1-1/+1
2008-01-30Now that system.h defines is_empty_dir, include "openat.h".Jim Meyering1-1/+0
2007-07-23Update all copyright notices to use the newer form.Jim Meyering1-5/+4
2007-07-10Change "version 2" to "version 3" in all copyright notices.Jim Meyering1-1/+1
2007-01-10Don't use fts_statp uninitialized for "chown -RLh --preserve-root ...".Jim Meyering1-2/+10
2006-12-14chgrp, chown: Don't prohibit -RLh, aka -RL with --no-dereference.Jim Meyering1-1/+2
2006-12-14* NEWS: --preserve-root now works with chgrp, chmod, and chown.Jim Meyering1-8/+16
2006-10-20Enable an fts optimization (call lstat only for directories,Jim Meyering1-2/+7
2006-10-13More chown/chgrp dereferencing-related fixes.Jim Meyering1-2/+5
2006-10-13* src/chown-core.c (change_file_owner): Use fstatat, not stat,Jim Meyering1-1/+1
2006-09-20Fix the 2006-09-18 bug differently.Jim Meyering1-0/+13
2006-09-20* src/chmod.c: Revert last change. There is a better way.Jim Meyering1-49/+11
2006-09-18Fix bug where chmod, chown, and chgrp did not process operandsPaul Eggert1-11/+49
2006-01-17Include "openat.h".Jim Meyering1-7/+7
2006-01-03(RC_do_ordinary_chown): New enum value.Paul Eggert1-67/+62
2005-12-27(restricted_chown):Paul Eggert1-8/+6
2005-05-30(getgrnam, getgrgid) [!defined _POSIX_VERSION]:Paul Eggert1-5/+0
2005-05-14Update FSF postal mail address.Jim Meyering1-1/+1
2005-05-14Update FSF postal mail address.Jim Meyering1-1/+1
2005-04-14Correct typo, fchmod -> fchown, in a comment.Jim Meyering1-1/+1
2005-04-10(chopt_free): Mark parameter as unused.Jim Meyering1-1/+1
2005-03-28(chopt_init): Use NULL, not `0'.Jim Meyering1-2/+2
2005-02-21(enum RCH_status): Remove trailing comma,Paul Eggert1-2/+2
2004-12-11Avoid a race condition vulnerability in chown, when used withJim Meyering1-14/+151
2004-09-22(chown_files): Declare as `extern'.Jim Meyering1-1/+1
2004-08-19(describe_change): Describe changes to -1:-1Paul Eggert1-9/+9
2004-07-28Include inttostr.h.Paul Eggert1-61/+44
2004-06-09(change_file_owner): Change names of parametersJim Meyering1-5/+8
2004-06-09Adjust chmod and chown to be similar if -c or -v are given. InJim Meyering1-33/+46
2004-06-08(change_file_owner): Use ent->fts_statp only ifJim Meyering1-91/+86
2004-05-17(chopt_init): Affect each symlink referent by default.Jim Meyering1-1/+1
2004-05-16chown --dereference did nothing when the owner/group of aJim Meyering1-6/+24
2004-05-01When chown or chgrp is modifying the referent of a symlink,Jim Meyering1-16/+3
2004-05-01(change_file_owner): Add a comment.Jim Meyering1-0/+10
2004-04-27(chopt_init, chopt_free, gid_to_name, uid_to_name, chown_files):Jim Meyering1-5/+5
2004-03-27Don't include savedir.h -- no longer needed.Jim Meyering1-2/+1
2003-11-09Include "root-dev-ino.h".Jim Meyering1-1/+8
2003-10-17(change_file_owner): Handle the cases inJim Meyering1-1/+21
2003-10-17Include "xfts.h".Jim Meyering1-22/+2
2003-10-17tweak commentJim Meyering1-4/+4
2003-10-15Rewrite to iterate through hierarchies using fts rather thanJim Meyering1-123/+108
2003-10-05(change_file_owner): Remove set-but-not-used local.Jim Meyering1-2/+0
2003-07-12(change_file_owner): Do not restore any specialJim Meyering1-17/+6
2003-07-10(change_file_owner): Don't leak file descriptors when dereferencing symlinks.Jim Meyering1-1/+3
2002-01-21Don't include "xalloc.h", as system.h already does that via sys2.h.Jim Meyering1-2/+1
2001-12-11(change_file_owner):Jim Meyering1-2/+2
2001-08-31(change_dir_owner): Remove statp arg; no longer needed.Jim Meyering1-5/+2
2000-12-16(uint_to_string): New function.Jim Meyering1-25/+53
2000-12-15Declare lstat.Jim Meyering1-47/+100
2000-12-10give a better diagnostic when only the group is being changedJim Meyering1-1/+3