/dev owner as current user?

Jessie Adan Morris jessie at jessieamorris.com
Thu Sep 6 15:20:53 MDT 2012


On a lot of modern linux distros you can use UDev to do this. For example, on 
my Ubuntu box I have the following line in "/etc/udev/rules.d/60-galaxy-
s3.rules" for my Galaxy SIII:

SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", SYSFS{idProduct}=="6601", 
MODE="0666"



On Thursday, September 06, 2012 15:16:51 S. Dale Morrey wrote:
> Hello,
> 
> I'm using lubuntu precise.  I've noticed whenever I plugin anything to
> USB that it mounts to /dev/ttyUSBn but the device is always owned by
> root.
> Is there anyway to make it default to ownership to the currently
> logged in user?  Otherwise I have to remember to chown each time I
> plug in a new device.
> 
> Thanks!
> 
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */
-- 
Jessie A. Morris
801-210-1526
jessie at jessieamorris.com


More information about the PLUG mailing list