Todd A. Jacobs <[EMAIL PROTECTED]> writes on 18 October 1999 at 14:28:10 -0700
> On Mon, 18 Oct 1999, David Dyer-Bennet wrote:
>
> > > I copied the qmail installation basically by doing:-
> > > cp -R /oldvar/qmail/* /var/qmail
>
> Hmmm. I tarred my qmail directory and moved it to another
> partition. Doesn't tar preserve permissions by default?
I thought it did if you were root, anyway. However, the obvious entry
in the info file doesn't make any mention of that behavior; maybe it
only does it when requested. (GNU tar)
`--preserve-permissions'
`--same-permissions'
`-p'
When `tar' is extracting an archive, it normally subtracts the
users' umask from the permissions specified in the archive and
uses that number as the permissions to create the destination
file. Specifying this option instructs `tar' that it should use
the permissions directly from the archive. *Note Writing::.
--
David Dyer-Bennet [EMAIL PROTECTED]
http://dd-b.lighthunters.net/ (photos) Minicon: http://www.mnstf.org/minicon
http://www.dd-b.net/dd-b (sf) http://ouroboros.demesne.com/ Ouroboros Bookworms
Join the 20th century before it's too late!