Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2000-04-13
2
Medium Priority
?
228 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 200 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month12 days, 12 hours left to enroll

971 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