Thanks Matt,

Tested again a bit and indeed: permissions on source and destination are 
different:

[h...@localhost rsync-test]$ cd ~/rsync-files/rsync-test/
[h...@localhost rsync-test]$ ls -l
total 24
drwxrwxr-x 2 hans hans 4096 2010-09-02 18:24 2bchanged/
drwxrwxr-x 2 hans hans 4096 2010-09-03 16:45 New Folder/
drwxrwxr-x 2 hans hans 4096 2010-09-03 16:42 New Folder (2)/
[h...@localhost rsync-test]$ cd /mnt/backup//rsync-test/
[h...@localhost rsync-test]$ ls -l
total 8
drwxr-xr-x 1 hans hans   0 2010-09-02 18:24 2bchanged/
drwxr-xr-x 1 hans hans   0 2010-09-03 16:45 New Folder/
drwxr-xr-x 1 hans hans   0 2010-09-03 16:42 New Folder (2)/

and indeed - although I specified rsync -vvv (most verbose output) - rsync 
"silently ignores chmod(2) calls" with emphasis on "silently":

2010/09/03 16:45:49 [7882] send_files(15, /home/hans/rsync-files/rsync-test/New 
Folder)
2010/09/03 16:45:49 [7882] cd+++++++++ send 
home/hans/rsync-files/rsync-test/New Folder
2010/09/03 16:45:49 [7882] set modtime of rsync-test/New Folder to (1283525117) 
Fri Sep  3 16:45:17 2010
2010/09/03 16:45:49 [7882] delete_in_dir(rsync-test/New Folder)

Since it is just a backup of my own personal workstation I decided to to use 
rsync -a --no-p .... : when restoring I just have to re-apply the correct 
permissions
(if required at all). I decided to also remove the --log-file-format at all.
This gives the log-file I prefer.

Thanks for your comments and recommendations,

Kind regards,

Hans Troost
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to