Change umask to 0000 when running backup

This commit is contained in:
Eric Torres
2019-04-14 22:35:59 -07:00
parent 9b8760346e
commit dee233b25a
2 changed files with 11 additions and 4 deletions

7
README
View File

@ -57,19 +57,18 @@ Implementation Notes
* pathlib is used for path handling
* Only absolute paths are used internally for consistency
* Use --link-dest=
* Use --suffix=, --backup, and --backup-dir=
* When hardlinking, rbackup passes the entire path to avoid needing relative paths
* The backup script changes the process umask to 0000 to determine the file modes for the files it writes i.e. snapshots
To-do
-----
* Use --suffix=, --backup, and --backup-dir=
* Create config module
* Study how snapshots behave when --delete is passed
* Add __enter__ and __exit__ for PackageManager lockfiles to prevent transactions during backup
* Create snapshot manipulation script
* Interactive cleanup script
* Repository.__delitem__()
* Repository.delete_snapshot(name)
* Test functions in config module
* load_list_from_option()
Dependencies
------------