You are not logged in.
Pages: 1
Hello,
Am trying to run efax as a user (not root) and am not allowed access to the modem (/dev/ttyS1) and to the /var/lock directory.
As root I am able to change permissions:
chmod og+wr /dev/ttyS1
and chmod og+wr /var/lockThen I am able to use the fax program.
When I reboot the permissions that I had changed revert to what they were before I changed them.
I remember FreeBSD had some provision for setting permissions somewhere in the /etc directory.
Is there some similar scheme in Arch?
How can I allow user access to the device and directory without manually doing so after every boot?
Thanks.
Kirill
Offline
change ownership is different from chmod. Also in this case I don't think changing ownership to your user to the /var/lock is a good idea.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
For accessing the /dev/ttyS* stuff, you could use udev's uaccess tag, or simply put your use in the uucp group. I am really not sure how good of an idea this is. As for the creation of a lock file as a normal user in /run/lock... I am not sure you should do that. Giving a normal user access to things like that is just asking for trouble.
Offline
Pages: 1