Re: [SLUG] Third of a dozen questions

From: Andrew Wyatt (awyatt@intergate.cx)
Date: Tue Oct 30 2001 - 06:25:49 EST


change usr to user and add mode=0777

/dev/sda1 /mnt/usbhd auto
noauto,user,rw,uid=500,gid=100,mode=0777,umask=002,suid 0 0

On Monday 29 October 2001 11:07 pm, you wrote:
> Hi Suggers,
>
> OK, Here you go. Should be simple but is not.
>
> Have my usb Olympic camera set up to review/download fotos fo my
> system from the camera. Have it set to /mnt/usbhd.
>
> Works fine ....as root.....When I try to mount the camera as a user,
> I get the following messsage. "Only root can mount dev/sda1 on
> /mnt/usbhd" Yeah, I know I can open a terminal, su, and mount the
> usbhd (the camera) and go on from there. Shouldn't have to do that
> though.
>
> When I sent a message about my Olympus camera Scot Piper wrote.
> "Having to be root is probably just a permissions problem with the
> directory where your usb stuff goes.  Just chmod a+w directory  and
> you (and every other user) will be able to access it"
>
> Now, I have changed permissions on every device associated with the
> camera. sda1 shows owner as Bob (that's me) and the group as users.
> Why ???? can only root mount a device that is owned by me??
>
> Here is the line from my fstab which pertains to the camera, which by
> the way has been changed a dozen times in an attempt to make this
> work. Don't even know why some of the entries are in there. Advice
> from others trying to help out.
>
> /dev/sda1 /mnt/usbhd auto
> noauto,usr,rw,uid=500,gid=100,umask=002,suid 0 0
>
> Additionally, but not a big deal, you must mount the usb-storage
> module for the cameera to work. I put a line in rc.d local to mount
> it but if the camera is not on when I boot I a get a long list of
> complaints at boot time. Is there a better way to do this?
>
> Hope one of you sluggers can help me make this work properly.
>
> Bob S.
>
> PS xoming soon, a more complicated issue, scanner recognition !!

-- 
cat MCSE | sed s/MCSE/RHCE/g>MCSE && kill -9 `ps -ef | grep MSFT | awk 
'{print $2}'` && mail -s "Another one bites the dust" bill.gates@microsoft.com

-----BEGIN GEEK CODE BLOCK----- Version: 3.1 GAT d+@ s+ a- C++++ ULBH++++$ P++++$ L++++$ E--- W+++ N+++ o+++ K- w---$ O M+ V- PS-- PE+ Y- PGP- t+++@ 5- X++ R* tv-- b++++ DI+++ D++ G++ e* h++ r+++ z** ------END GEEK CODE BLOCK------



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:02:45 EDT