Skip to content

Commit

Permalink
Set file permissions of ownership file to not allow everyone to read it.
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlo committed May 3, 2024
1 parent 1f16454 commit 97e595d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions darsync.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,9 @@ def check_file_tree(args):



# set file permissions for the ownership file
os.chmod(f"{local_dir}/{prefix_basename}.ownership.gz", 0o650)

# Sort files by size
uncompressed_files.sort(key=lambda x: x[1], reverse=True)

Expand Down

0 comments on commit 97e595d

Please sign in to comment.