]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Port to Solaris 10's rules for whether programs can chown files.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 31 May 2005 06:14:24 +0000 (06:14 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 31 May 2005 06:14:24 +0000 (06:14 +0000)
commite6a9bbce565defebd361d54979737f0e1ab00f7b
tree3fd71be13be8d0aa038adac5c01d3f70d71637b3
parentff3775ea5b69466c4c3ebc29306acc72e49ba5a0
Port to Solaris 10's rules for whether programs can chown files.
[HAVE_PRIV_H]: Include <priv.h>.
(DO_CHOWN): Remove.  Replaced by chown_failure_ok.  All callers
changed.
(copy_internal): If chown failed, don't worry about what happened
to the mode bits; they can't have changed.
(chown_privileges, chown_failure_ok): New functions.
src/copy.c