Skip to content

Commit

Permalink
Add test for permission bug (yadm-dev#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLocehiliosan committed Nov 12, 2019
1 parent c222644 commit c29834e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_perms.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,6 @@ def test_perms_control(runner, yadm_y, paths, ds1, sshperms, gpgperms):
else:
assert oct(private.stat().mode).endswith('00'), (
'Path has not been secured')

# verify permissions aren't changed for the worktree
assert oct(paths.work.stat().mode).endswith('0755')

0 comments on commit c29834e

Please sign in to comment.