Joe,<br>It looks like your mountpoints in /media are owned by the root user and the group "usbdrives".&nbsp; chown the mountpoint directories<br>/media/joelinusb<br>/media/joelinusb2<br><br>to your username and see if it works out for you.<br>John<br><br><font face="Tahoma, Arial, Sans-Serif" size="2"><hr align="center" size="2" width="100%"><strong>From</strong>: Joe &lt;josephj@main.nc.us&gt;<br><strong>Sent</strong>: Monday, November 24, 2008 3:22 PM<br><strong>To</strong>: nflug@nflug.org<br><strong>Subject</strong>: [nflug] Mounting USB Disk Drives</font><br><br>System: kubuntu hardy on a Centrino Duo notebook.<br><br>I'm having some difficulty mounting my USB disk drive as a user.  It has<br>a Windoze partition and a Linux partition on it (/dev/sdb1, /dev/sdb2 is<br>how it usually shows up, but I use UUIDs in fstab in case  that changes).<br><br>So far, what I am doing is mounting the drives manually and that's what<br>the rest of this post is about.<br><br>But, what I'd really like is to have the drives auto mount whenever<br>they're plugged in.  I can't just set them to auto in fstab because<br>then, Linux would jump up and down during boot up if they're not plugged<br>in.  I also have another usb disk drive that I want to have work the<br>same way (with different mount points) once I get this to work.<br><br>Almost everything is right except what appears to be a permissions problem.<br><br>As illustrated below, mount and pmount work when issued by my user.<br><br>What doesn't work is using the icons that appear on my desktop when the<br>drive is plugged in or another drive like a thumbdrive is plugged in<br>(the icons don't show up if the drive was already plugged in at boot time).<br><br>To debug this, I tried using mount specifying the device as well as the<br>mount point (from konsole) and that fails as well.  Maybe it has<br>something to do with /dev/sdb1 and sdb2 belonging to the "disk" group.<br>Or maybe it is a conflict between using UUIDs in fstab and using the<br>device name in the mount command - which is what it looks like the<br>desktop icons may be doing.<br><br>The following (from konsole) illustrates what's wrong:<br><br>bigbird@sananda:/media$ pmount /media/joelinusb2<br>bigbird@sananda:/media$ pumount /media/joelinusb2<br>bigbird@sananda:/media$ mount /media/joelinusb2<br>bigbird@sananda:/media$ umount /media/joelinusb2<br>bigbird@sananda:/media$ mount /dev/sdb2 /media/joelinusb2<br>mount: only root can do that<br>bigbird@sananda:/media$ mount /dev/sdb1 /media/joewinusb<br>mount: only root can do that<br>bigbird@sananda:/media$ ls -l /dev/sdb1<br>brw-rw---- 1 root disk 8, 17 2008-11-24 13:26 /dev/sdb1<br>bigbird@sananda:/media$ ls -l /dev/sdb2<br>brw-rw---- 1 root disk 8, 18 2008-11-24 13:26 /dev/sdb2<br>bigbird@sananda:/media$<br><br>The mount points are in /media<br>drwxr-xr-x 2 root usbdrives  4096 2008-11-24 02:50 joelinusb2<br>drwxr-xr-x 2 root usbdrives  4096 2008-04-18 02:21 joewinusb<br><br>My user is a member of the usbdrives group (gid=1002).<br><br>The entries in /etc/fstab (that I manually added) are<br><br>#Entry for /dev/sdb2 - joelinusb2 usb Linux partition<br>UUID=290fdbe2-4535-4b43-a035-7805062cb069 /media/joelinusb2 ext3<br>user,async,atime,noauto,rw,dev,exec,suid 0 0<br># Entry for /dev/sdb1 - joewinusb usb drive Windows partition<br>UUID=0BDD76C77F0F8CEE /media/joewinusb ntfs-3g<br>user,noauto,rw,gid=1002,umask=0002,locale=en_US.utf8 0 0<br><br>I have verified the UUIDs.  I guess they have to be right or pmount<br>wouldn't work.<br><br>Any ideas on how to fix this or do it right would be appreciated.<br><br>Joe<br><br><br>_______________________________________________<br>nflug mailing list<br>nflug@nflug.org<br>http://www.nflug.org/mailman/listinfo/nflug<br><br>

__________________________________________________<br>
D O T E A S Y - "Join the web hosting revolution!"<br>
<dd><a href="http://www.doteasy.com">http://www.doteasy.com</a></dd>