Fedora Linux Support Community & Resources Center
  #1  
Old 19th November 2009, 10:02 AM
mrbrown79 Offline
Registered User
 
Join Date: Jul 2009
Posts: 64
linuxfedorafirefox
Mount nfs drive as other user

Hi,

This is not a particular Fedora issue, but I take the chance

How can I mount a network (nfs) drive (on a RHEL4 machine) from my FC11, but as another user.

E.g. I would like to mount the folder /home/userA on the network drive. But my local username is userB. Hence I don't seem to have access to mount the drive.

sudo mount -t nfs eda4:/home/userA /mnt/eda4 gives the message: "mount.nfs: access denied by server while mounting (null)"

I have put a broadcast address in /etc/exports and started an nfs daemon on the remote server.

Best regards,
Kenneth
Reply With Quote
  #2  
Old 19th November 2009, 03:34 PM
Gödel Offline
Registered User
 
Join Date: Jul 2009
Location: London,England
Posts: 1,102
linuxfedorafirefox
There could be other reasons why it's failing rather than a permissions problem eg firewall, selinux.

Do you have any messages in the /var/log/secure log or messages log on either machine that show anything relevant?
Reply With Quote
  #3  
Old 19th November 2009, 03:45 PM
mrbrown79 Offline
Registered User
 
Join Date: Jul 2009
Posts: 64
linuxfedorafirefox
Quote:
Originally Posted by Gödel View Post
There could be other reasons why it's failing rather than a permissions problem eg firewall, selinux.

Do you have any messages in the /var/log/secure log or messages log on either machine that show anything relevant?
Not really. On the remote machine, the most interesting part is in /var/log/messages:
Nov 19 10:55:29 <hostname> mountd[29419]: authenticated mount request from 192.168.100.73:xxx for /home/userA (/home/userA).

BTW, the content of /etc/exports is:
/home/userA 192.168.100.0/24(rw)

Should I write any user arguments here?
Reply With Quote
  #4  
Old 19th November 2009, 08:30 PM
Gödel Offline
Registered User
 
Join Date: Jul 2009
Location: London,England
Posts: 1,102
linuxfedorafirefox
try adding no_root_squash to the arguments, (rw,no_root_squash)
Reply With Quote
Reply

Tags
drive, mount, nfs, user

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 2nd hard drive fat32 with user read/write permission rapaneli Programming & Packaging 6 3rd July 2009 11:12 AM
Regular user can't mount/unmount floppy drive w/ FC6 & KDE GreyWizzard EOL (End Of Life) Versions 2 17th January 2007 05:43 AM
non-root cannot mount user cifs mount point rgladwell Servers & Networking 2 6th August 2006 05:50 PM
Would like to mount old Fedora boot drive as second hard drive. grndplane Using Fedora 20 5th February 2006 04:53 AM
mount ignores fstab, won't let me mount as a user clockworks Using Fedora 1 17th June 2005 11:38 PM


Current GMT-time: 10:42 (Wednesday, 20-08-2014)

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