I want to transfer lots of files/folders from Windows to Linux using Rsync. On linux server(destination), I want the file permission set to 644, and folder permission set to 755. If possible, I want the ownership set to root.root for all the files/folders. I have tried -p option, but it doesn't work. Thank you for any help.
|
feedback
|
|
You can set the perms using the
will force the permissions to be set to 755 for | |||
feedback
|
umask 022before your copy. – BillThor Feb 10 '11 at 6:21