On Tuesday 04 September 2007 19:09, Adrian Levi wrote:
> > Am Dienstag, 4. September 2007 21:55 schrieb Mike Bird: > > > rsync -a -H -S /src/ /dest/ > > Would you not also need to set "umask 0000" to preserve existing file > permissions?
umask limits the file mode of a file created by syscalls such as open.
Programs such as "cp" and "rsync" can either turn off umask internally
or use subsequent "chmod" syscalls to fix up the copies of the files
so that the copies have the same modes as the originals.
--Mike Bird
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Wed Sep 5 01:48:23 2007
This archive was generated by hypermail 2.1.8
: Sun Oct 07 2007 - 03:51:11 EDT
|