Hi.
For a long time i used this udev rules for my mp3 player and flash disk
10-local.rules:
UBSYSTEMS=="scsi", ATTRS{model}=="LYRA_MPHR2301_EU", OWNER="old_user", 
SYMLINK+="lyra"
SUBSYSTEMS=="scsi", ATTRS{vendor}=="USB 2.0", ATTRS{model}=="Flash Disk", 
OWNER="old_user", SYMLINK+="massive"

In /etc/fstab I had (and still have) following lines:
/dev/massive    /mnt/massive  vfat      owner,noatime,rw,utf8           0 2
/dev/lyra               /mnt/lyra        vfat   owner,noatime,rw,utf8           
0 2

So I could write and delete files under mounted folders like regular user.
I created new user and just changed OWNER in 10-local.rules to new username. 
Now when I plug in mp3 player it created device node (example) /dev/sdc and 
rightly I'm owner of this file but I'm not owner of the link so I cannot 
mount it like regular user. And when I mount it like root I cannot manipulate 
with data on the device.
Thx
-- 
gentoo-user@gentoo.org mailing list

Reply via email to