diff --git a/btv b/btv index 1bf9113..c84665e 100755 --- a/btv +++ b/btv @@ -258,6 +258,9 @@ def serialize(snap, outdir, key, snap_from=None): for file in os.listdir(directory): path = os.path.join(directory, file) os.chown(path, outdir_stat.st_uid, outdir_stat.st_gid) + + if path.endswith(".aes") or path.endswith(".sha512"): + os.chmod(path, 0o100) return 0