ligurio / unreliablefs

A FUSE-based fault injection filesystem.
https://ligurio.github.io/unreliablefs/unreliablefs.1.html
MIT License
174 stars 9 forks source link

test_chown() is broken #39

Open ligurio opened 3 years ago

ligurio commented 3 years ago
Traceback (most recent call last):                                                                                                                
  File "/home/sergeyb/sources/unreliablefs/tests/test_unreliablefs.py", line 146, in test_chown                                                   
    os.chown(filename, uid_new, -1)                                                                                                               
PermissionError: [Errno 1] Operation not permitted: '/tmp/pytest-of-sergeyb/pytest-7/test_chown0/mnt/testfile_1'  
ligurio commented 3 years ago

perhaps the solution is -o allow_root