If the UID of the user who owns the "shared" directory does not correlate to a username inside of the container, the system experiences a critical stop. This change instructs the system to check for write access in the target directory regardless of current owner, fixing this issue and potentially preventing unnecessary permission modifications.
Error:
Unexpected error: <type 'exceptions.KeyError'>
Traceback (most recent call last):
File "master_openworm.py", line 103, in <module>
if pwd.getpwuid(os.stat(OW_OUT_DIR).st_uid).pw_name != os.environ['USER']:
KeyError: 'getpwuid(): uid not found: 1121600003'
If the UID of the user who owns the "shared" directory does not correlate to a username inside of the container, the system experiences a critical stop. This change instructs the system to check for write access in the target directory regardless of current owner, fixing this issue and potentially preventing unnecessary permission modifications.
Error:
To reproduce: Access shell inside container.