-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ron Eggler wrote:
> 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

I would guess that this means that you need to set the same suid on
umount.cifs as you have on mount.cifs.


> [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!


- --
==============================================================================
I have always wished that my computer would be as easy to use as my
telephone.
My wish has come true. I no longer know how to use my telephone.

Bjarne Stroustrup
==============================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFHBfr9asN0sSnLmgIRAjoBAJ9/HDcTvlUPerNVi8pCs7iLNZHsGgCgtEHV
kWdMaTuhSNa7k1lEjcZK9IE=
=Kswc
-----END PGP SIGNATURE-----
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to