[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]


jpollara@lawnchair.net wrote:

When I mount an NFS share I can't seem to write to it as any user...
Both the systems authenticate against the same ldap server so uid's and
gid's are all the same. My /etc/exports file looks like : /mnt/sda1/home/ (rw,no_root_squash)

I mount the share from the client with the command :
mount -o rw -t nfs foo:/mnt/sda1/home /home

When I try to write to /home it says permissions denied.
In the exports(5) man page it says:

       # sample /etc/exports file
       /               master(rw) trusty(rw,no_root_squash)
       /projects       proj*.local.domain(rw)
       /usr            *.local.domain(ro) @trusted(rw)
       /home/joe       pc001(rw,all_squash,anonuid=150,anongid=100)
       /pub            (ro,insecure,all_squash)

Line 5 exports the public FTP directory to every host in the world, executing all requests under the nobody account.

So I would try:
/mnt/sda1/home/ *.localdomain(rw,no_root_squash)

Or specify your individual hosts.


No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.298 / Virus Database: 265.6.7 - Release Date: 12/30/04

Reply to: