Solved

nfs mount permissions

Posted on 2006-11-10
7
1,665 Views
Last Modified: 2008-02-01
Hi,

I would like a user (not root) to be able to mount a remote NFS mount.  But everytime I mount the path it is owned by netdump, and then I can't read the contents.  Does anyone know what I'm doing wrong?

server: /etc/exports
/backups.0/user 1.2.3.4(ro,no_root_squash,async)

client: /etc/fstab
server:/backups.0/user /home/user/backups.0/ nfs ro,hard,intr,noauto,user 0 0
0
Comment
Question by:bryanlloydharris
  • 3
  • 3
7 Comments
 
LVL 38

Assisted Solution

by:wesly_chen
wesly_chen earned 250 total points
ID: 17920076
Could you do
ls -ald /backups.0/user
on the server and post here?
0
 
LVL 43

Accepted Solution

by:
ravenpl earned 250 total points
ID: 17920584
Please provide output from server side
ls -ld /backups.0/user
should be redable for all, or at least for the user You want it read as(if NIS is configured, and users are populated from server to client as well)
0
 
LVL 43

Expert Comment

by:ravenpl
ID: 17920586
wesly_chen: Sorry - havent noticed...
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 3

Author Comment

by:bryanlloydharris
ID: 17921430
You're right, it's the permissions.  But how do I mount an NFS share without the permissions?
0
 
LVL 3

Author Comment

by:bryanlloydharris
ID: 17921487
I thought the root_no_squash was going to make it as if I was reading all the files as if I was the root user on the server side?
0
 
LVL 43

Assisted Solution

by:ravenpl
ravenpl earned 250 total points
ID: 17921499
> You're right, it's the permissions.  But how do I mount an NFS share without the permissions?
You can't do that.

no_root_squash - no, i's not that option. Please refer http://www.freeos.com/articles/3421/
0
 
LVL 3

Author Comment

by:bryanlloydharris
ID: 17922493
Thanks for all the help.  I think I know what to do now.
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

Fine Tune your automatic Updates for Ubuntu / Debian
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.

820 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