LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NFS question about permissions (https://www.linuxquestions.org/questions/linux-newbie-8/nfs-question-about-permissions-4175440131/)

lleb 12-05-2012 07:30 AM

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.

chrism01 12-05-2012 07:04 PM

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.


All times are GMT -5. The time now is 06:06 PM.