Commit Graph

5 Commits

Author SHA1 Message Date
Marcus Schäfer
d1fb751b60
Fixed use of stat result in os.chmod
oct method returns a string representation which was mistakenly
used in a subsequent os.chmod call. This Fixes #564
2017-12-06 15:59:14 +01:00
Marcus Schäfer
f17b6e41f0
Make sure toplevel target dir keeps permissions
When syncing data via rsync we make sure the toplevel target
directory the data gets synced to does not change it's origin
permissions. This Fixes #557
2017-12-04 17:17:35 +01:00
Marcus Schäfer
6cc0b2085d Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
Marcus Schäfer
c429c18289
Added xattr checker for DataSync class
The method target_supports_extended_attributes() checks if the
sync target directory supports extended filesystem attributes.
The method is called on sync_data() and will remove the -X / -A
options if provided. A warning message is issued to the caller
if the rsync option list has changed because of the underlaying
filesystem limitations
2016-05-02 11:16:10 +02:00
Marcus Schäfer
e246e72a52
Refactor data subpackage
Move from data to utils, data is generally considered
as text data and not code
2016-03-17 10:42:08 +01:00