You are not logged in.
Pages: 1
Hello, how can I set access for /dev/console if I want to work with it as regular user.
I tried different arguments for chmod (a+rw in main), but after reloading it resets.
$ ls -l /dev/console
crw------- 1 root root 5, 1 Jan 14 20:44 /dev/console
What is the right way to change acces for that file?
$ groups
wheel network video audio optical floppy storage camera users
Last edited by Ockonal (2011-01-14 19:09:00)
Offline
I guess that you mean after booting when you say reload? /dev/console is created new at each boot so permissions won't be retained on it. You can put your chmod command in /etc/rc.local so it is applied every time you boot up if you want to
You're just jealous because the voices only talk to me.
Offline
moetunes, okay, but anyway I can't edit it with regular user even before reloding computer.
Offline
moetunes, okay, but anyway I can't edit it with regular user even before reloding computer.
I did
sudo chmod -v a+rw /dev/console
and now permissions are
crw-rw-rw- 1 root root 5, 1 Jan 14 15:45 /dev/console
do your permissions change but you still can't write to it or do they not change at all?
You're just jealous because the voices only talk to me.
Offline
Seems that I have to add my user into tty group.
Offline
Pages: 1