Add test for permission bug (#174)

pull/177/head
Tim Byrne 5 years ago
parent c222644f8c
commit c29834ed86
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12

@ -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')

Loading…
Cancel
Save