You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we don't check perms with file access. Given we're providing modes, we might as well check current UID/GID and do the right fail if necessary.
The text was updated successfully, but these errors were encountered:
It might be cleaner yet to implement it as some sort of state variable in Test::MockFile. That way the process doesn’t need to change its credentials, and the test credentials are abstracted from the process’s.
toddr
changed the title
Perms are not checked on file access
User perms are not checked on file access
Dec 27, 2021
Currently we don't check perms with file access. Given we're providing modes, we might as well check current UID/GID and do the right fail if necessary.
The text was updated successfully, but these errors were encountered: