Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Проблема с правами
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
Wert
n00b
n00b


Joined: 14 Apr 2004
Posts: 37

PostPosted: Tue Apr 12, 2005 4:54 pm    Post subject: Проблема с правами Reply with quote

Сначала не мог запустить kde под user' ом
$startx
you have notpermissions /dev/null
исправил
#chmod 777 /dev/null
После этого оказалось, что на других /dev/* тоже самое, а самое плоохое что после перезагрузки они не сохраняются, т.к переписывается. Как починить?
Back to top
View user's profile Send private message
PopeOptimusPrime
n00b
n00b


Joined: 04 Apr 2005
Posts: 23
Location: Between keyboard and chair

PostPosted: Thu Apr 14, 2005 2:25 am    Post subject: Reply with quote

Вы используещь udev?

Если да... нужно менять /etc/udev/rules.d/50-udev.rules
Code:
nano -w /etc/udev/rules.d/50-udev.rules


Добавляйте это...
Code:
# memory devices
KERNEL="random",  NAME="%k", MODE="0666"
KERNEL="urandom", NAME="%k", MODE="0444"
KERNEL="mem",   NAME="%k", MODE="0640"
KERNEL="kmem",    NAME="%k", MODE="0640"
KERNEL="port",    NAME="%k", MODE="0640"
KERNEL="full",    NAME="%k", MODE="0666"
KERNEL="null",    NAME="%k", MODE="0666"
KERNEL="zero",    NAME="%k", MODE="0666"


Извините за плохого Русского...
_________________
http://www.FreeMiniMacs.com/?r=17650438
Get the free trial for eFax, easily cancelled and free.
Back to top
View user's profile Send private message
Nelud
Apprentice
Apprentice


Joined: 08 Oct 2004
Posts: 271

PostPosted: Thu Apr 14, 2005 6:40 am    Post subject: Reply with quote

ИМХО добавлять надо не в /etc/udev/rules.d/50-udev.rules, а куда-нибудь типа /etc/udev/rules.d/99-user.rules

Во-вторых, я бы вначале не правил rules, а поигрался бы с параметром RC_DEVICE_TARBALL в файле /etc/conf.d/rc
Back to top
View user's profile Send private message
alk
n00b
n00b


Joined: 13 Jul 2004
Posts: 52

PostPosted: Thu Apr 14, 2005 7:49 am    Post subject: Reply with quote

а сдается мне что юзер добавлен неверно

Code:

useradd john -m -G users,wheel,audio -s /bin/bash


из хэндбука

обратить внимание на /bin/bash
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum