LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-05-2012, 07:30 AM   #1
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
NFS question about permissions


I am running CentOS 6.3 64bit with the most up to date vs of NFS available to that server. I have the exports set as follows:

Code:
[root@sparky samba]# cat /etc/exports 
/mnt/users/XXXX 192.168.2.0/24(rw,sync,no_root_squash,no_all_squash)
I can mount it as follows on my Mac:

Code:
smas-imac:~ ssma$ sudo mount -t nfs -o resvport 192.168.2.125:/mnt/users/XXXX /Users/ssma/Desktop/LVM/
My issue is a permissions issue as the user ssma is not on the Linux server. How do I grant user ssma permissions to the NFS share without setting the permissions to 777 or some other silly setting?

Thanks.
 
Old 12-05-2012, 07:04 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Normally for NFS, you need to have an acct with the same uid (same name is optional) on each end of the cxn.
You can also allow access by gid or world as you mentioned.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS permissions fatra2 Linux - Server 1 09-26-2012 04:38 AM
NFS permissions picado555 Linux - Server 1 06-14-2012 07:39 AM
[SOLVED] NFS Permissions GRS63 Linux - Server 5 01-10-2012 10:34 PM
[SOLVED] filesystem permissions question - making so user can't change permissions? c0pe Linux - Security 4 07-12-2010 09:06 AM
NFS Permissions aqoliveira Linux - General 0 01-10-2002 02:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration