mounting for non-root users

Todd Slater dontodd at columbus.rr.com
Mon Apr 18 15:41:11 UTC 2005


OK yes, I'm a bonehead--that's exactly what it was. I thought that the
"user" option in fstab made user:group irrelevant. As soon as I change
owner to my user everything is OK.

Thanks for the help,

Todd

On Mon, Apr 18, 2005 at 04:19:58PM +0200, ulrich steffens wrote:
> may be a silly question, but have you permissions for /mnt/novell ?
> 
> 
> Am Montag, den 18.04.2005, 09:55 -0400 schrieb Todd Slater:
> > Hi Emil:
> > 
> > On Mon, Apr 18, 2005 at 03:31:55PM +0200, Emil Oppeln-Bronikowski wrote:
> > > Todd Slater napisaƂ(a):
> > > 
> > > >2. sudo chmod 4755 /usr/bin/ncpmount
> > > > 
> > > >
> > > Ouch. Never do that. I don't know about Novell stuff, but all the 
> > > devices that are user-enabled sits in my /etc/fstab. For NFS, Samba, 
> > > VFat and others there's an option called user, so when you add a 
> > > following line
> > > 
> > > /dev/ice /pa/th MyFilesystem user,noauto 0 0
> > > 
> > > All the users would be able to mount and dismount device by calling
> > > 
> > > mount /pa/th
> > > 
> > > from the shell.
> > 
> > I tried finding the device path by mounting it via sudo and peeking at
> > /etc/mtab, copied that info into /etc/fstab and added the user option. I
> > still get the same error.
> > 
> > The device path seems weird because it starts with the server name; it
> > finds it, though, because "sudo mount /mnt/novell" works but again not for
> > regular user.
> > 
> > Todd




More information about the ubuntu-users mailing list