Solved

nfs mount permissions

Posted on 2006-11-10
7
1,645 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
Comment Utility
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
Comment Utility
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
Comment Utility
wesly_chen: Sorry - havent noticed...
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 3

Author Comment

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

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
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 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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

763 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

11 Experts available now in Live!

Get 1:1 Help Now