Greetings:

I hope [EMAIL PROTECTED] is the proper place to report this; if it
is not, perhaps you could point me to the proper contact.

The behavior of "cp -a" seems to have changed from version 4.0p to
version 4.1. With version 4.0p, "cp -a" would change the ownership of
the file(s) copied to the user performing the copy.  With version 4.1,
the ownership change portion of the copy now fails, though the time stamps
seem to be preserved.  

Steps to replicate the problem are show below.

System is RedHat Linux 7.2
Copy is from NFS mounted HPUX vxfs filesystem with standard mount options
(rw,suid,delaylog,datainlog) to to local ext3 filesystem with default
mount options.

-------------------------------------------------------------------------------
[tmetz@strat] >/tmp/cp_4.0p --version
cp (GNU fileutils) 4.0p
Written by Torbjorn Granlund, David MacKenzie, and Jim Meyering.

Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[tmetz@strat] >/tmp/cp_4.0p -a ~jamals/isscc/slides/talk/* .
[tmetz@strat] >ls -l
-rw-r--r--   1 tmetz    users        2204 Aug 15  2001 inttalk.aux
-rw-r--r--   1 tmetz    users       37096 Aug 15  2001 inttalk.dvi
-rw-r--r--   1 tmetz    users      129232 Aug 15  2001 inttalk.ps
-rw-r--r--   1 tmetz    users         384 May 10  2001 inttalk.tex

[tmetz@strat] >rm -f *
[tmetz@strat] >/bin/cp --version
cp (fileutils) 4.1
Written by Torbjorn Granlund, David MacKenzie, and Jim Meyering.

Copyright (C) 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[tmetz@strat] >/bin/cp -a ~jamals/isscc/slides/talk/* .
/bin/cp: setting permissions for `./inttalk.aux': Operation not permitted
/bin/cp: setting permissions for `./inttalk.dvi': Operation not permitted
/bin/cp: setting permissions for `./inttalk.ps': Operation not permitted
/bin/cp: setting permissions for `./inttalk.tex': Operation not permitted

[tmetz@strat] >ls -l
-rw-r--r--   1 jamals   users        2204 Aug 15  2001 inttalk.aux
-rw-r--r--   1 jamals   users       37096 Aug 15  2001 inttalk.dvi
-rw-r--r--   1 jamals   users      129232 Aug 15  2001 inttalk.ps
-rw-r--r--   1 jamals   users         384 May 10  2001 inttalk.tex
-------------------------------------------------------------------------------

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Tim Metz, Computer Systems/Network Administrator 
Electrical and Computer Engineering, The University of California, Davis
[EMAIL PROTECTED]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to