I have been looking through the archives to fix a device permission issue I have. I was sure (though my memory, or lack of it, is a problem) that there was a link for it, but I can't find it; many discussing the problem, but none provide the solution I am after. The problem is as follows, I have SuSE 10.2 and I have a usb-serial adaptor. When it is attached to the system the permissions to /dev/ttyUSB0 are 660, so good for root, but not for the normal user. I can change the permissions to 666, or change the ownership, but will have to do it every time the adaptor is connected to the system, but not ideal. Issuing the command lsusb, shows the device as there, lsusb Bus 002 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port Bus 002 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 Is there a file somewhere that can be modified so that the default permissions for /dev/ttyUSB0 are 666 when the adaptor is connected. I apologise for re-posting and if anyone can point me to the correct link it will be appreciated Cheers Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 03 May 2007 13:22, Peter Bloomfield wrote:
I have been looking through the archives to fix a device permission issue I have. I was sure (though my memory, or lack of it, is a problem) that there was a link for it, but I can't find it; many discussing the problem, but none provide the solution I am after.
The problem is as follows, I have SuSE 10.2 and I have a usb-serial adaptor. When it is attached to the system the permissions to /dev/ttyUSB0 are 660, so good for root, but not for the normal user. I can change the permissions to 666, or change the ownership, but will have to do it every time the adaptor is connected to the system, but not ideal.
Issuing the command lsusb, shows the device as there, lsusb Bus 002 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port Bus 002 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000
Is there a file somewhere that can be modified so that the default permissions for /dev/ttyUSB0 are 666 when the adaptor is connected.
Just found it on the web, sorry for wasting time; should have gone there also Add the following to a rules file in /etc/udev/rules.d/ Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Peter Bloomfield