Solved

nfs mount permissions

Posted on 2006-11-10
7
1,658 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Remove a folder in Linux 9 105
How to learn Linux? 10 61
How to find Linux Server's last patch date 9 51
Run DOS2UNIX and then execute the command 21 71
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…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

809 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