Solved

nfs mount permissions

Posted on 2006-11-10
7
1,652 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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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.:
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…

867 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now