On Thursday 04 October 2007 11:17:47 am Anders Johansson wrote:
> On Thursday 04 October 2007 08:47:19 Roger Oberholtzer wrote:
> > On Wed, 2007-10-03 at 19:45 -0700, Ron Eggler wrote:
> > > On Wednesday 03 October 2007 12:18:43 am G T Smith wrote:
> > > > Ron Eggler wrote:
> > > > > Hi,
> > > > > I have an fstab entry like
> > > > > "//192.168.0.101/Disk\0401 /mnt/Y          cifs
> > > > > user,uid=100,gid=1000 0 0"
> > > > > but I'm not able to umount this share as a user, why not? Shouldn't
> > > > > this be possible since i have the attribute "user" in there?
> >
> > Be sure to note the difference between the 'user' and the 'users'
> > options. The man page only mentions users unmounting if the 'users'
> > option is supplied. The 'user' option seems to be limited to mounting.
>
> Nix. The difference is that if "user" is given, any non-root user can mount
> it and only the same user can unmount it. With "users", any user can mount
> it, and *any* user can unmount it

Okay, I changed "user" to "users" in my fstab, umounted my share, mounted it 
back with 'mount -a' and then i did following:
[EMAIL PROTECTED]:~> umount /mnt/data
Trying to unmount when /sbin/umount.cifs not installed suid
Trying to unmount when /sbin/umount.cifs not installed suid
[EMAIL PROTECTED]:~> sudo chmod +s /sbin/umount.cifs
[EMAIL PROTECTED]:~> umount /mnt/data
Not permitted to unmount
Not permitted to unmount

What does this now mean? Weird eh?

Thanks!
-- 
chEErs Ron
-- 
chEErs Ron
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to