Does NFS requires a directory with full permission in order to share with other clients?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I have set up NFS share and it is working properly with 770 or 777 permission on the directory but the minute I have the permission for the group like 760 or 750 then it stops work and I can't access the share( it says permission denied ).



when the permission is:



chmod 770 /public


then it works properly but when the permission is:



chmod 760 /public


It does not let me access the share giving me an error saying permission denied.










share|improve this question







New contributor




Faiz Orz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Does the user account you're using have the same uid/gid on each client system?
    – Doug O'Neal
    8 hours ago














up vote
0
down vote

favorite












I have set up NFS share and it is working properly with 770 or 777 permission on the directory but the minute I have the permission for the group like 760 or 750 then it stops work and I can't access the share( it says permission denied ).



when the permission is:



chmod 770 /public


then it works properly but when the permission is:



chmod 760 /public


It does not let me access the share giving me an error saying permission denied.










share|improve this question







New contributor




Faiz Orz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Does the user account you're using have the same uid/gid on each client system?
    – Doug O'Neal
    8 hours ago












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have set up NFS share and it is working properly with 770 or 777 permission on the directory but the minute I have the permission for the group like 760 or 750 then it stops work and I can't access the share( it says permission denied ).



when the permission is:



chmod 770 /public


then it works properly but when the permission is:



chmod 760 /public


It does not let me access the share giving me an error saying permission denied.










share|improve this question







New contributor




Faiz Orz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I have set up NFS share and it is working properly with 770 or 777 permission on the directory but the minute I have the permission for the group like 760 or 750 then it stops work and I can't access the share( it says permission denied ).



when the permission is:



chmod 770 /public


then it works properly but when the permission is:



chmod 760 /public


It does not let me access the share giving me an error saying permission denied.







linux centos permissions nfs nfsv4






share|improve this question







New contributor




Faiz Orz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Faiz Orz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Faiz Orz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 11 hours ago









Faiz Orz

11




11




New contributor




Faiz Orz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Faiz Orz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Faiz Orz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • Does the user account you're using have the same uid/gid on each client system?
    – Doug O'Neal
    8 hours ago
















  • Does the user account you're using have the same uid/gid on each client system?
    – Doug O'Neal
    8 hours ago















Does the user account you're using have the same uid/gid on each client system?
– Doug O'Neal
8 hours ago




Does the user account you're using have the same uid/gid on each client system?
– Doug O'Neal
8 hours ago










1 Answer
1






active

oldest

votes

















up vote
0
down vote













The user account you use to access the share, needs to have the required permissions to access it, the same way as a "normal" directory (i.e. on the local disk).



Since you can access it with 0770 permissions set, your user account apparently is a member of the same group as the share itself.



To put it another way: if you make some normal directory, say /test and set permissions to 0740 you would also only be able to access it, if you are the owner of /test. This is not a special thing inn NFS or something like that.






share|improve this answer




















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






    Faiz Orz is a new contributor. Be nice, and check out our Code of Conduct.









     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481255%2fdoes-nfs-requires-a-directory-with-full-permission-in-order-to-share-with-other%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    The user account you use to access the share, needs to have the required permissions to access it, the same way as a "normal" directory (i.e. on the local disk).



    Since you can access it with 0770 permissions set, your user account apparently is a member of the same group as the share itself.



    To put it another way: if you make some normal directory, say /test and set permissions to 0740 you would also only be able to access it, if you are the owner of /test. This is not a special thing inn NFS or something like that.






    share|improve this answer
























      up vote
      0
      down vote













      The user account you use to access the share, needs to have the required permissions to access it, the same way as a "normal" directory (i.e. on the local disk).



      Since you can access it with 0770 permissions set, your user account apparently is a member of the same group as the share itself.



      To put it another way: if you make some normal directory, say /test and set permissions to 0740 you would also only be able to access it, if you are the owner of /test. This is not a special thing inn NFS or something like that.






      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        The user account you use to access the share, needs to have the required permissions to access it, the same way as a "normal" directory (i.e. on the local disk).



        Since you can access it with 0770 permissions set, your user account apparently is a member of the same group as the share itself.



        To put it another way: if you make some normal directory, say /test and set permissions to 0740 you would also only be able to access it, if you are the owner of /test. This is not a special thing inn NFS or something like that.






        share|improve this answer












        The user account you use to access the share, needs to have the required permissions to access it, the same way as a "normal" directory (i.e. on the local disk).



        Since you can access it with 0770 permissions set, your user account apparently is a member of the same group as the share itself.



        To put it another way: if you make some normal directory, say /test and set permissions to 0740 you would also only be able to access it, if you are the owner of /test. This is not a special thing inn NFS or something like that.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 10 hours ago









        Hkoof

        1,02268




        1,02268




















            Faiz Orz is a new contributor. Be nice, and check out our Code of Conduct.









             

            draft saved


            draft discarded


















            Faiz Orz is a new contributor. Be nice, and check out our Code of Conduct.












            Faiz Orz is a new contributor. Be nice, and check out our Code of Conduct.











            Faiz Orz is a new contributor. Be nice, and check out our Code of Conduct.













             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481255%2fdoes-nfs-requires-a-directory-with-full-permission-in-order-to-share-with-other%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay