Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.unix.shell Subject: Re: Retaining file permissions Keywords: chmod, sed, awk Message-ID: <11554@jpl-devvax.JPL.NASA.GOV> Date: 22 Feb 91 17:45:52 GMT References: <6039@ptsfa.PacBell.COM> <1991Feb22.041826.201@athena.mit.edu> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 9 In article <1991Feb22.041826.201@athena.mit.edu> jik@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 Brought to you by Super Global Mega Corp .com