LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 08:30 AM   #1
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
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, 08:04 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:38 AM
NFS permissions picado555 Linux - Server 1 06-14-2012 08:39 AM
[SOLVED] NFS Permissions GRS63 Linux - Server 5 01-10-2012 11:34 PM
[SOLVED] filesystem permissions question - making so user can't change permissions? c0pe Linux - Security 4 07-12-2010 10:06 AM
NFS Permissions aqoliveira Linux - General 0 01-10-2002 03:08 PM


All times are GMT -5. The time now is 12:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration