running Xorg as non-root (with xserver-xorg-video-fbdev)

Rui Miguel Silva Seabra rms at 1407.org
Thu Sep 9 19:33:06 CEST 2010


Em 06-09-2010 19:05, Timo Juhani Lindfors escreveu:
> Rui Miguel Silva Seabra <rms at 1407.org> writes:
>> I expect that would be more because it tries to read /dev/input/event3
>> (or 4 or both) and perhaps doesn't have enough privileges?
> 
> No it's because it uses the accelerometer which is a LED device and
> thus chown/chmod can not be used to grant permissions.

chgrp and chmod appear to work, or I'm not understanding what you mean?

root at om-gta02 ~ # ls -laF /dev/input/event3
crw-------    1 root     root       13,  67 Jan  1  1970 /dev/input/event3
root at om-gta02 ~ # chgrp disk /dev/input/event3
root at om-gta02 ~ # ls -laF /dev/input/event3
crw-------    1 root     disk       13,  67 Jan  1  1970 /dev/input/event3
root at om-gta02 ~ # chgrp root /dev/input/event3
root at om-gta02 ~ # chmod g+rw /dev/input/event3
root at om-gta02 ~ # ls -laF /dev/input/event3
crw-rw----    1 root     root       13,  67 Jan  1  1970 /dev/input/event3
root at om-gta02 ~ # chmod g-rw /dev/input/event3
root at om-gta02 ~ # ls -laF /dev/input/event3
crw-------    1 root     root       13,  67 Jan  1  1970 /dev/input/event3



> 
> 
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 




More information about the community mailing list