Re: Mount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrea Bencini wrote:
I have Windows 2000 professional (10.100.0.2) where I have a share folder
"Foto".
I have Linux client (FC6) with two account, "root"(of course) and "meeting".
My goal is to mount my share folder "Foto" in /mnt/disco-r/ with account
"meeting" and "root".

I created a directory "disco-r" in /mnt and then I did:
chwon meeting:meeting disco-r

drwxr-xr-x 2 meeting meeting 4096  8 nov 17:21 disco-r

Then I added in /etc/fstab this raw:

//10.100.0.2/Foto       /mnt/disco-r   cifs
rw,users,noauto,username=andreab,password=psw 0 0

With account "root" I mount a share folder "Foto":

[root@w-room ~]# mount -v /mnt/disco-r/
parsing options:
rw,noexec,nosuid,nodev,noauto,users,username=andreab,password=psw

mount.cifs kernel mount options
unc=//10.100.0.2\Foto,ip=10.100.0.2,ver=1,rw,noexec,nosuid,nodev,noauto,user
name=andreab,password=psw
[root@w-room ~]#

With account "meeting" I receive this message and I don't mount the share
folder.

[meeting@w-room ~]$ mount -v /mnt/disco-r/
parsing options:
rw,noexec,nosuid,nodev,noauto,users,username=andreab,password=psw

mount.cifs kernel mount options
unc=//10.100.0.2\Foto,ip=10.100.0.2,ver=1,rw,noexec,nosuid,nodev,noauto,user
name=andreab,password=psw
mount error 1 = Operation not permitted
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
[meeting@w-room ~]$

Where is the mistake?
Can you help me?

As "man mount.cifs" says:

NOTES
       This command may be used only by root, unless installed
       setuid, in which case the noeexec and nosuid mount flags
       are enabled.

It is not installed setuid in Fedora so you'll have to change the permissions of /sbin/mount.cifs to 4755 to use it as a non-root user.

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux