hamish@iskmweboffice.com
2006-Apr-18 18:05 UTC
What permissions does a file take if -p is not set?
Hiya if the rsync options -pgo (preserve perms, group perms, owner perms) are not set, from where does rsync attain the file permissions? Will it just take the default ones from the server? Also, what is the difference between -p and -g or -o ? Thanks Hamish
On Tue, Apr 18, 2006 at 07:13:31PM +0100, hamish@iskmweboffice.com wrote:> if the rsync options -pgo (preserve perms, group perms, owner perms) are > not set, from where does rsync attain the file permissions?This was improved in the 2.6.7 manpage, which is available online (link below). Just look for the section on "-p, --perms", and it will explain how permissions get set both with and without this option.> Also, what is the difference between -p and -g or -o ?The descriptions of -g and -o are being improved for the 2.6.8 release, which you can read at this URL: http://rsync.samba.org/ftp/rsync/nightly/rsync.html ..wayne..