-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 First, you should almost always use -t unless you have a really good reason to not sync timestamps otherwise future rsync runs will not know what has changed and what hasn't.
Second, when you run with -p rsync should detect and fix any permission differences. If the permissions are the only difference it should fix them with a simple change to the permissions just like your chmod. Note that -a (--archive) includes both -p and -t and a bunch of other things. Finally, when in doubt, --itemize-changes. On 03/01/12 20:05, Pavel Sanda wrote: > Hi, > > is rsync supposed to detect permission change only (if other > attributes are equal at both source and target)? > > I'm able to synchronize permissions by -p when the file changes > (e.g. its timestamp when -t is used) but otherwise the sole > permission change of the file (e.g. via chmod u-w file) remains > unnoticed. > > Any hint? > > Thanks, Pavel - -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Kevin Korb Phone: (407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. ke...@futurequest.net (work) Orlando, Florida k...@sanitarium.net (personal) Web page: http://www.sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9QH6YACgkQVKC1jlbQAQe2OwCeKqqR/iMwIeJO1GeiqmTCV2fr umcAoLYhbKDjKV3kfY3NMF6MEvlS3bO+ =dDzv -----END PGP SIGNATURE----- -- 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