mirror of
https://github.com/TheLocehiliosan/yadm
synced 2024-10-27 20:34:27 +00:00
Add test for permission bug (#174)
This commit is contained in:
parent
c222644f8c
commit
c29834ed86
@ -98,3 +98,6 @@ def test_perms_control(runner, yadm_y, paths, ds1, sshperms, gpgperms):
|
|||||||
else:
|
else:
|
||||||
assert oct(private.stat().mode).endswith('00'), (
|
assert oct(private.stat().mode).endswith('00'), (
|
||||||
'Path has not been secured')
|
'Path has not been secured')
|
||||||
|
|
||||||
|
# verify permissions aren't changed for the worktree
|
||||||
|
assert oct(paths.work.stat().mode).endswith('0755')
|
||||||
|
Loading…
Reference in New Issue
Block a user