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

x
?
Solved

nfs mount permissions

Posted on 2006-11-10
7
Medium Priority
?
1,697 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 1000 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 1000 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
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
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 1000 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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 how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month11 days, 23 hours left to enroll

916 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