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?
> >
> > Thank you!
> > Ron
>
> I would suggest looking at...
>
> http://pserver.samba.org/samba/ftp/cifs-cvs/linux-cifs-client-guide.pdf

Alright i read page 6 and then did following:
[EMAIL PROTECTED]:~/Desktop/downloads> sudo chmod +s /sbin/mount.cifs # setuid 
root
root's password:
[EMAIL PROTECTED]:~/Desktop/downloads> mount # see my mounts
/dev/sda6 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sda7 on /home type reiserfs (rw,acl,user_xattr)
/dev/sda2 on /windows/C type ntfs 
(ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
/dev/sda3 on /windows/D type ntfs 
(ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
securityfs on /sys/kernel/security type securityfs (rw)
none on /proc/fs/vmblock/mountPoint type vmblock (rw)
//192.168.0.2/media on /mnt/media type cifs (rw,mand,noexec,nosuid,nodev)
//192.168.0.2/data on /mnt/data type cifs (rw,mand,noexec,nosuid,nodev)
[EMAIL PROTECTED]:~/Desktop/downloads> umount /mnt/data #trying the umount one 
of the smb shares
umount: only root can unmount //192.168.0.2/data from /mnt/data #this is what 
i get :( and i have no idea why it wouldn't work, well it says it should work 
like this, i don't know... the share got mounted with:
//192.168.0.2/data   /mnt/data            cifs       user,uid=100,gid=1000 0 0
from /etc/fstab. There's the user option and in that pdf it says that it would 
work with this option. Can anyone provide any further help please?

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

Reply via email to