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
You have to do regex = "^/nix/store/abcd......../tmp$";.
I was misled by the use of .* in documentation and examples. Usually, it makes sense and is needed if there is some kind of ^...$ added to the pattern implicitly elsewhere. But, since there is not, it is rendundant - foo and foo.* both mean the same thing as .*foo.*.
If I set
perms = [{ regex = "/tmp"; }]
then that also matches/some/path/tmp
.I tried to use
regex = "^/tmp$"
but now that doesn't seem to match anything.I think it should be possible to set the permissions for one specific, exactly specified path.
The text was updated successfully, but these errors were encountered: