View Single Post
Old 04-27-2009, 03:26 AM
Derekasaurus Derekasaurus is offline
Registered User
Join Date: Sep 2007
Posts: 7
Will a permission change trigger a file copy?

I recently discovered that my music, video, and image files had inconsistent permissions. I fixed these inconsistencies from the command line, usually by doing something like this:
find . -name "*.mp3" -exec chmod 644 {} \;
Of course I'm sure that SD will synchronize these permission changes to my external drives one way or another when I do my next Smart Update, but I'm wondering if SD will just sync the permissions or copy the whole file? The former should be a very quick update, while the latter will move hundreds of GB of data in my case.

chmod doesn't seem to update the timestamp, so I assume SD can differentiate metadata changes (like permissions, extended attributes, and ACLs) from actual data changes and not copy the whole file if the content hasn't changed.

It's not worth going into the specifics, but the answer to this question may have some impact on my backup strategy, and I'd rather get an official answer rather than running a Smart Update and guessing what SD is doing based on how long it takes.

Reply With Quote