Solved

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

Posted on 2000-04-13
2
223 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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 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.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

739 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