View Full Version : Added myself to the lock group

6th October 2012, 01:39 PM

I'm running heyu, the home automation software, and it wanted to write to /var/lock.

Fedora makes /var/lock only root writeable (I did change this, but it gets changed back after a reboot so I presume that's saying, "Hey, don't do that!").

So I see that the Fedora way is to use /var/lock/lockdev which is root and the lock group writeable.

I changed heyu to write to that lock directory, and have added myself to the group lock. This works, but I'm wondering if it is how I should be thinking about this...or am I meant to make heyu run as a member of lock, or something else?

Thanks for any comments

6th October 2012, 03:11 PM
I had an issue like this but in stead I changed the lock directory for the program in config I think I made a new directory
~/program.locks/ seemed to work

8th October 2012, 06:34 PM
Hmmm...maybe that's a better solution though no other prog would know to check there if it mattered for any reason

Thanks for the input