From f707eb199ef9a0529fe850bb1b8c3c1bc5c13b21 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 31 May 2005 06:16:51 +0000 Subject: Port to Solaris 10's rules for whether programs can chown files. --- ChangeLog | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 163773912..23277b37b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,26 @@ -2005-05-29 Paul Eggert +2005-05-30 Paul Eggert * Version 5.3.1. + Port to Solaris 10's rules for whether programs can chown files. + * src/copy.c [HAVE_PRIV_H]: Include . + (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.h: Add copyright notice. + (struct cp_options): Remove myeuid member. Add chown_privileges + member. + (chown_privileges, chown_failure_ok): New function decls. + * src/cp.c (re_protect): Remove unnecessary call to geteuid. + Use chown_failure_ok rather than our own code. + * src/cp.c (cp_options_init): Use chown_privileges rather than geteuid. + * src/install.c (cp_option_init): Likewise. + * src/mv.c (cp_option_init): Likewise. + +2005-05-29 Paul Eggert + * src/chgrp.c (getgrnam) [!defined _POSIX_VERSION]: Remove decl. * src/chown-core.c (getgrnam, getgrgid) [!defined _POSIX_VERSION]: Remove decls. -- cgit v1.2.3-70-g09d2