Retaining file permissions

Larry Wall lwall at jpl-devvax.JPL.NASA.GOV
Sat Feb 23 04:45:52 AEST 1991


In article <1991Feb22.041826.201 at athena.mit.edu> jik at athena.mit.edu (Jonathan I. Kamens) writes:
: If you don't have perl installed, you can probably get what you
: want by using "cp" in the last line instead of "mv", since cp attempts to keep
: file permissions on existing files (although it won't be able to keep setuid
: bits; then again, neither will perl).

Yes it will.  (When 4.0 comes out. :-)

Larry



More information about the Comp.unix.shell mailing list