On Fri, 2010-09-03 at 17:05 +0200, Hans Troost wrote:
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
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
Matt,
Took a while to get out that I didn't have strace, installed and learned it
a bit.
!!! Even with strace I do not get a chmod call shown. !!!
I do not worry, since my problem is solved (thanks), but still am curious.
Please don't spend time if this is not interesting for you and others
On Fri 03 Sep 2010, Hans Troost wrote:
!!! Even with strace I do not get a chmod call shown. !!!
strace -o /home/hans/strace.log -s 80 rsync -axhhX --no-p --stats --delete
If you're doing --no-p you wonder why it's not setting permissions?
Paul
--
Please use reply-all for most replies to
OK, thanks Paul: stupid me: forgot to remove --No-p.
Now I did, but still
Now made it:
#!/bin/bash
RawDate=`date +%Y%m%d`
NiceDate=`date +%Y-%m-%d`
Now=`date +%H%M`
#echo RawDate: $RawDate
#echo NiceDate: $NiceDate
#echo Now: $Now
strace -o /home/hans/strace.log -s 78 rsync -axhhX --perms
On Fri, 2010-09-03 at 18:18 +0200, Hans Troost wrote:
Took a while to get out that I didn't have strace, installed and learned it
a bit.
!!! Even with strace I do not get a chmod call shown. !!!
strace -o /home/hans/strace.log -s 80 rsync [...]
That is just tracing the first rsync
On Fri, 2010-09-03 at 20:49 +0200, Hans Troost wrote:
Indeed, strace -f option helps:
the chmod status unfinished shows up several times now. no real warnings
or errors, but nevertheless: information about what's going wrong.
Unfinished does not indicate that anything is wrong. It just
Thanks Matt,
That clarifies it for me.
Completely happy with all your support: learned a lot, now
made up my mind about my backups and know how to achieve this.
Regards,
Hans Troost
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options:
On Thu, 2010-09-02 at 11:38 +0200, hans.tro...@telfort.nl wrote:
I'm just starting with rsync, googled and experienced a lot, but get stuck
with
minimizing the log-file: I only want to see the real changes: new, updated
and
deleted files/directories in the log-file.
The LOG-file always