Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 12-01-2007, 04:48 PM   #1
LQ Newbie
Registered: Oct 2007
Posts: 14

Rep: Reputation: 0
udev permissions problems

This seems like more of a hardware problem than software, but I could be wrong

So my USB devices work fine - mount, unmount, eject, all of that, but to make things easier for myself, I wrote some udev rules and fstab entries for my iPod and usb flashkey - I thought that this would make Amarok a little bit easier to use (no separate umount and then eject after syncing).

The problem is that I can mount my iPod/flashkey as myself, but have to umount and eject them as superuser

here are the udev rules:

BUS=="usb", SYSFS{serial}=="****************", KERNEL=="sd?2", GROUP="users", OWNER="kyle", SYMLINK=="ipod"

BUS=="usb", SYSFS{serial}=="****************", KERNEL=="sd?1", GROUP="users", OWNER="kyle", SYMLINK=="flashkey"

*** I'm not sure if showing the serial numbers is a security issue, but a little but of paranoia is healthy

here are the fstab entries:

/dev/ipod /media/ipod auto users,noauto,rw,defaults 0 0
/dev/flashkey /media/flashkey auto users,noauto,rw,defaults 0 0

here's the error I get when I try to eject as kyle (not root)

umount: /dev/sda1: not mounted
umount: /media/flashkey: must be superuser to umount
umount: /dev/sda1: not mounted
umount: /media/flashkey: must be superuser to umount
eject: unmount of `/media/flashkey' failed

I'm running Slackware 12.0
Kernel (optimized)

Thanks in advance
Old 12-02-2007, 10:11 AM   #2
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,119

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
1] Try changing users in your fstab to read user
[man fstab ]

2] Do you have a group users ? Are you a member of that group ?


fstab, udev

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Treo 650 permissions udev? smOk3 Slackware 8 12-08-2007 08:57 PM
udev /dev/null permissions The_Outlander Slackware 2 08-29-2007 08:00 AM
/etc/udev/permissions.d on Slack ? Kocil Slackware 3 11-29-2005 02:57 AM
udev-054 user permissions henno Slackware 1 03-03-2005 06:19 AM
udev permissions.d not read jonman364 Linux - Software 1 02-21-2005 04:08 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration