Solaris Troubleshooting NFS : error ‘cp: cannot create : Permission denied’

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

Loading Facebook Comments ...

5 Responses

  1. Laxxi says:

    Hi Ram,

    Please guide me how can I provide Read write access to a Fs on client  only to users root and oracle 

    where do i need to mention the users in the below command on master server:
    share -F nfs -o rw=client masterser:/filesystem /mountpoint.

    Thanks!!
    Laxxi

  2. Ramdev says:

    pleae try      —             share -F nfs -o rw=oracle:root /filesystem

  3. venkat says:

    hi ram,

    client side as a ROOT i am not able to write anything
    ls -ld
    drwxrwxr-x 15 oracle dba 1024 Dec 12 06:31 /BACKUP
    Showmount -e ee.xx.yy.zzz
    /BACKUP (everyone)

    when i am writing any thing it showing that root@xyzDB # touch bb
    touch: cannot create bb: Permission denied

    i checked Serverside /etc/dfs/dfstab it is shared with
    share -F nfs -o rw -d “BACKUP” /BACKUP

    dfmounts
    RESOURCE SERVER PATHNAME CLIENTS
    – XYZMDB1 /BACKUP XYZPRREPDB

    so can you please suggest me what exactly the problem

  4. Ramdev says:

    Venkat, “root on nfs-client” is not equals “root on NFS server” … it will be just treated as Nobody account. the /BACKUP has r-x permission for others and the “nobody” ID will be treated as others for this directory, that’s the reason for permission denied.

    If you want to make “root on clients” equivalent to “root on NFS server”, you have to share using following options ‘ share -F nfs -o rw,root=clientname -d “BACKUP” /BACKUP ‘ .

  1. September 16, 2015

    […] Read – error ‘cp: cannot create : Permission denied’ […]

Leave a Reply

Your email address will not be published.

[contact-form to='ramkumar.ramadevu@gmail.com' subject='New Learning Request Submitted'][contact-field label='Name' type='name' required='1'/][contact-field label='Email' type='email' required='1'/][contact-field label='Learning Request' type='textarea' required='1'/][contact-field label='Are you Looking for ' type='radio' required='1' options='Paid Training,Free Training'/][/contact-form]

What is your Learning Goal for Next Six Months ? Talk to us