udev-071-0.FC4.2 does not seem to obey console.perms for pilot ttyUSB

Sjoerd Mullender sjoerd at acm.org
Tue Feb 14 07:50:37 UTC 2006


Serge de Souza wrote:
> Hi,
> 
> Since udev-071-0.FC4.2 the ownership for ttyUSB* does not change from
> root to the user logged at the console. I had previously just added
> ttyUSB* to the <pilot> entry in console.perms and everything worked fine
> ttyUSB* were created with the correct ownerships. Now they are created
> and owned by root. This can be fixed if /sbin/pam_console_apply is run,
> but shouldn't udev or whatever it uses do this ? Is this a bug in udev ?
> How can I fix it without doing silly things like chmod 666 ?
> 
> Thanks
> 

I now have this line in the file /etc/udev/rules.d/10-palm.rules.  It
seems to work well:

DRIVER=="visor", KERNEL=="ttyUSB[13579]", SYMLINK+="pilot", MODE:="0666"

I didn't see a way in udev to specify that the owner of the file should
be the user who is logged in on the console, so I opted for mode 666.

-- 
Sjoerd Mullender

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 370 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060214/a7eeed43/attachment-0001.sig>


More information about the fedora-list mailing list