Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 16th August 2004, 10:01 AM
baxterman
Guest
 
Posts: n/a
Unhappy NFS mounting by non-root??? HELP!!

I've been playing with the NFS mounting options as suggested in http://www.fedoraforum.org/forum/showthread.php?t=2229

What I want to do is allow a non-root normal user to create their own mount points on a Windoze share. I've tried it both the following ways and get the same result

1)manually mount as root :'smbmount //PC/music /home/user/desktop/music -o username=johnny,password=bigboy'
If I try to do this logged in as 'user', even though 'user' owns '/home/user/desktop/music' I get :
smbmnt must be installed suid root for direct user mounts (500,500)
smbmnt failed:1


2)automatically create user mounts in /etc/fstab by adding :
//PC/music /home/user/desktop/music smbfs users,noauto,nosuid,nodev,noexec,credentials=/mnt/samba/auth.smb,fmask=664,dmask=775 0 0

created the file '/mnt/samba/auth.smb' and added the credentials etc.

Still get : 'smbmnt must be installed suid root for direct user mounts (500,500)
smbmnt failed:1' if I'm logged in as anything but root.


any ideas?
Reply With Quote
  #2  
Old 30th November 2004, 01:34 AM
chiku31 Offline
Registered User
 
Join Date: Nov 2004
Posts: 176
Although this thread had been posted for a long time, and I think you probabaly already solved the problem. But I would like other people able to solve this problem in the future regarding nono-root user smbmount for read&write access to a windows share. The bottom link will provide a detail instruction regarding to this issue.
http://www.justlinux.com/nhf/Filesys...rmanently.html


Here is my sample /etc/fstab:
//192.168.1.102/j /mnt/intelp4/j smbfs username=defaults,password=defaults,uid=500,gid=jo hnson 0 0
The line will allow you to gain read and write permission to a window share even for a non-root user.
Reply With Quote
Reply

Tags
mounting, nfs, nonroot

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: error mounting /dev/root on /sys/root as ext3: no such file or directory nutty Hardware & Laptops 0 12th February 2009 11:00 PM
Need help mounting root with live dvd Omni-Tom Using Fedora 14 5th August 2008 04:44 AM
FC5 panic mounting root fs stidolph EOL (End Of Life) Versions 3 8th July 2006 04:22 PM
mounting DFS root activation Servers & Networking 1 19th September 2005 06:22 PM
PXE boot FC2 + mounting root over NFS kkramer25 EOL (End Of Life) Versions 1 5th November 2004 02:43 AM


Current GMT-time: 01:39 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat