Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Other *NIX Forums > Other *NIX
User Name
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.


  Search this Thread
Old 08-28-2009, 03:14 AM   #1
LQ Newbie
Registered: Jul 2006
Location: Wormer
Distribution: CentOS, Mac OS X
Posts: 15

Rep: Reputation: 0
NFS fileserver no permissions on Mac

Hi there,

I have a Linux OpenLDAP server for authorization and a Linux Fileserver (CentOS 5.3) and a MacBook Pro (10.5.8)

I have a folder called /export/test and a folder /export/sysadmin that are being exported via nfs:

/export/test *(rw,sync,insecure)
/export/sysadmin *(rw,sync,insecure)

drwxrwx---+ 4 root Sysadmin 4.0K Aug 28 11:53 sysadmin
drwxrwxrwx 4 root Sysadmin 4.0K Aug 27 20:37 test

ACL Rights of sysman
# file: export/sysadmin
# owner: root
# group: Sysadmin

I have created a user in ldap with uid 5000 and a group Sysadmin the user is a member of the group sysadmin, if i preform a "id username" i will see the group sysadmin. But when i login to my mac with that ldap user and mount the share /export/sysadmin it succeed but i receive access denied if i try to browse it. The /export/test share works perfectly (should be on 0777)

When i use a linux client and hook it up to ldap and login i am able to mount and browse the /export/sysadmin share and it works perfectly, so my guess is that it has something to do with the mac???
Old 09-01-2009, 03:55 PM   #2
LQ Newbie
Registered: Jan 2005
Location: Bath, UK
Distribution: Linux Mint, LMDE
Posts: 18

Rep: Reputation: 3
NFS fileserver no permissions on Mac

There is a very useful HowTo on the Ubuntu Forums here:

Comment #8 may contain the answer to your problem:

If you're connection to a Linux NFS server from Mac OS X, you need to specify 'insecure' in your exports and map the user IDs since Macs use uid 501 for the first regular user. For my /etc/exports I use:

/home,async,insecure,all_squash,anonuid =1000,anongid=1000)


centos5, mac, nfs, openldap

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
Fileserver issues - NFS and Samba Phaethar Linux - Enterprise 0 07-21-2006 08:08 AM
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM
Need help to plan permissions for a fileserver tsigo Linux - Networking 0 04-15-2004 02:45 PM
Mac OS using a Linux fileserver lathspel Linux - Newbie 3 09-30-2003 06:18 PM
how to build a fileserver/printserver for Mac? browny_amiga Linux - Networking 1 05-23-2003 10:23 AM > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 12:13 AM.

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