Rsync Chmod Problem
Why isn't this rsync working as in... the file it copies across doesn't get given the chmod settings I've tried to set.
As i understood is the rsync chmod can also have D or F for file or directory however i didn't think it was absolutely necessary to use this... My rsync command works fine apart from the chmod......
rsync -zrltv --delete --force --chmod=u+rwX,g+rwX,o+rX,o-w
I'm trying to get files created at the target to be set with the perms 775 and directories with 775... hence why i haven't used the rsyncs D or F to specify either files or directories... maybe i have to do two separate ones??
I've downloaded and installed from source the latest rsync version yesterday as my previous rsync verison didn't have the chmod capability and that is what i was after.