mounting NFS share with autofs CentOS

Discussion in 'Server Operation' started by denmaddog, Sep 14, 2012.

  1. denmaddog

    denmaddog New Member

    I have set up NFS export on one CentOS server like this:
    cat /etc/exports
    nfs and rpcbind services are started

    On client side I can mount this share manualy with:
    mount -t nfs /shared
    When mounted like this I can write to that mount, but when setting autofs to mount this share when I try to write to /shared folder I got:

    [[email protected] shared]# touch testy
    touch: cannot touch `testy': Permission denied
    [[email protected] shared]#

    on client I have:
    cat /etc/auto.master
    /shared /etc/auto.misc

    cat /etc/auto.misc
    shared -rw

    Please help, I have to resolve this in order to take RHCE exam :)


Share This Page