|
#1
|
|||
|
|||
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. Thanks. |
#2
|
||||
|
||||
We'll recopy the entire file on a Smart Update or Copy Different.
__________________
--Dave Nanian |
#3
|
|||
|
|||
Not the answer I was expecting. Is that by design or because there's no way for SD to differentiate between a true edit and a metadata change (like altered file permissions)? On the surface it seems wasteful to copy a large file just because of a permission change.
|
#4
|
||||
|
||||
It's a rare enough case that we didn't optimize for it.
__________________
--Dave Nanian |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Booting from backup | guruuno | General | 27 | 10-16-2009 11:53 PM |
copy coking on a file? | Aussie John | General | 8 | 07-27-2008 10:37 PM |
Backup fails | redarm | General | 2 | 06-02-2008 01:30 PM |
Problems with SD | fdwlaw | General | 8 | 01-15-2006 10:58 AM |
Error: No space left on device | tradervic | General | 11 | 06-29-2005 04:50 PM |