Solved

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

Posted on 2000-04-13
2
218 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

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
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 …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

821 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