Solved

Can only access NFS mounted drives as root ... why?

Posted on 2000-04-13
2
220 Views
Last Modified: 2013-12-15
I am able to successfully mount remote
drives using NFS. But, I can only access those mounted drives as root. As a normal user, when I do a df or ls, I get:
df: /mnt/remote_drive: Permission denied
ls: /mnt/remote_drive: Permission denied  

My /etc/fstab entry is:
remote_host:/remote_drive /mnt/remote_drive     nfs user,rsize=8192,wsize=8192,hard,intr 0 0

How do I permit access as a normal user?
Thanks,
Dave
0
Comment
Question by:djc2
2 Comments
 
LVL 1

Accepted Solution

by:
bcoleman earned 50 total points
ID: 2712602
Check the permisions of the mnt directory.  If you plan on leaving this mounted all of the time, you probably want to create another directory just for that purpose and set up a group which has permission to access that diretory.  Then place the users who you want to give access to in that group.
0
 

Author Comment

by:djc2
ID: 2712734
Wow, do I feel dumb! Yes, /mnt was
denying access to user. Problem fixed.
Thanks,
Dave
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question