automatically inherit parent folder permissions when copying files
Hello,
I've a windows machine backing up all night a couple of GB of information to a remote linux based machine via rsync and things works good, but i would like to know what/how can i do for the copied folders/files in the linux machine automatically inherit the parent folder permissions? Thanks, brgds, Teixeira |
umask is probably what your looking for.
|
I'm not sure that rsync has the ability to inherit them so to speak, but you can specify them manually presuming you know them, which I guess you do.
Add the --chmod, with such as ug+w as the arguments. It accepts standard chmod args. |
Thanks both, i'll try umask and --chmod switch in rsync.
Best regards, Teixeira |
All times are GMT -5. The time now is 04:33 AM. |