Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

688 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