Hi,

I just installed picocom and ran into a small problem (which I have
encountered before on other distributions [0]) to do with lock files in
/run/lock.

The issue is that picocom is creating its lock files directly in /run/lock,
which is only root writeable. Requiring root to run picocom is not really
ideal. According to [0] device locks should be in /run/lock/lockdev. This
directory would be group writeable, and be owned by group "lock". I would
then recompile picocom to use /run/lock/lockdev instead and make sure I
belong to the "lock" group.

So it seems NixOS is doing the right thing with the permissions, I'm just
wondering what the deal is with creating extra directories in the /run/lock
directory which can be used by non-root programs, or whether locks should
be placed somewhere else in NixOS.

Regards,

Luke

[0]
http://lists.freedesktop.org/archives/systemd-devel/2011-March/001823.html
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to