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.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux