storage server all nfs users on full 666 file permissions

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












2















How can I setup a shared storage location on a storage server shared via CIFS and NFS and all files written by CIFS and all users via NFS to write files and folders with full read/write permissions (folders 777, files 666).



Reason: I use a Pydio server to manage files between my computer and a central storage.
But this central storage is also accessed directly over CIFS and NFS with other systems.
All files written via CIFS I can do a force user and file creation mask, so that is covverred.
But for NFS that is a different story.
The Pydio server has an NFS mount to this storage location.



Storage Location
/etc/exports:
/storage/internal *(rw,sync,all_squash)

Pydio client mount:
<IP>:/storage/internal /mnt/VODSTOR nfs rw,intr,noexec,rsize=16384,wsize=16384 0 0


all files written by this Pydio server have 644 file permissions. How to alter the parameters of the NFS export/mount options to write with file permission 666 and for folders 777...? Because then all other users should be able to copy, delete, change these files no matter if the use samba or NFS...



Thanks in advance.










share|improve this question


























    2















    How can I setup a shared storage location on a storage server shared via CIFS and NFS and all files written by CIFS and all users via NFS to write files and folders with full read/write permissions (folders 777, files 666).



    Reason: I use a Pydio server to manage files between my computer and a central storage.
    But this central storage is also accessed directly over CIFS and NFS with other systems.
    All files written via CIFS I can do a force user and file creation mask, so that is covverred.
    But for NFS that is a different story.
    The Pydio server has an NFS mount to this storage location.



    Storage Location
    /etc/exports:
    /storage/internal *(rw,sync,all_squash)

    Pydio client mount:
    <IP>:/storage/internal /mnt/VODSTOR nfs rw,intr,noexec,rsize=16384,wsize=16384 0 0


    all files written by this Pydio server have 644 file permissions. How to alter the parameters of the NFS export/mount options to write with file permission 666 and for folders 777...? Because then all other users should be able to copy, delete, change these files no matter if the use samba or NFS...



    Thanks in advance.










    share|improve this question
























      2












      2








      2








      How can I setup a shared storage location on a storage server shared via CIFS and NFS and all files written by CIFS and all users via NFS to write files and folders with full read/write permissions (folders 777, files 666).



      Reason: I use a Pydio server to manage files between my computer and a central storage.
      But this central storage is also accessed directly over CIFS and NFS with other systems.
      All files written via CIFS I can do a force user and file creation mask, so that is covverred.
      But for NFS that is a different story.
      The Pydio server has an NFS mount to this storage location.



      Storage Location
      /etc/exports:
      /storage/internal *(rw,sync,all_squash)

      Pydio client mount:
      <IP>:/storage/internal /mnt/VODSTOR nfs rw,intr,noexec,rsize=16384,wsize=16384 0 0


      all files written by this Pydio server have 644 file permissions. How to alter the parameters of the NFS export/mount options to write with file permission 666 and for folders 777...? Because then all other users should be able to copy, delete, change these files no matter if the use samba or NFS...



      Thanks in advance.










      share|improve this question














      How can I setup a shared storage location on a storage server shared via CIFS and NFS and all files written by CIFS and all users via NFS to write files and folders with full read/write permissions (folders 777, files 666).



      Reason: I use a Pydio server to manage files between my computer and a central storage.
      But this central storage is also accessed directly over CIFS and NFS with other systems.
      All files written via CIFS I can do a force user and file creation mask, so that is covverred.
      But for NFS that is a different story.
      The Pydio server has an NFS mount to this storage location.



      Storage Location
      /etc/exports:
      /storage/internal *(rw,sync,all_squash)

      Pydio client mount:
      <IP>:/storage/internal /mnt/VODSTOR nfs rw,intr,noexec,rsize=16384,wsize=16384 0 0


      all files written by this Pydio server have 644 file permissions. How to alter the parameters of the NFS export/mount options to write with file permission 666 and for folders 777...? Because then all other users should be able to copy, delete, change these files no matter if the use samba or NFS...



      Thanks in advance.







      nfs storage shared-disk






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 10 '14 at 8:22









      SHLelieveldSHLelieveld

      1261213




      1261213




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Short answer is - you can't. NFS permissions are handled by the client and file create permissions controlled by the user umask.



          What you might be able to do (it depends on OS support) - if you're using NFSv4 - is use an ACL. See the man page, specifically, the part about inheritance.






          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',
            autoActivateHeartbeat: false,
            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
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f160361%2fstorage-server-all-nfs-users-on-full-666-file-permissions%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Short answer is - you can't. NFS permissions are handled by the client and file create permissions controlled by the user umask.



            What you might be able to do (it depends on OS support) - if you're using NFSv4 - is use an ACL. See the man page, specifically, the part about inheritance.






            share|improve this answer





























              0














              Short answer is - you can't. NFS permissions are handled by the client and file create permissions controlled by the user umask.



              What you might be able to do (it depends on OS support) - if you're using NFSv4 - is use an ACL. See the man page, specifically, the part about inheritance.






              share|improve this answer



























                0












                0








                0







                Short answer is - you can't. NFS permissions are handled by the client and file create permissions controlled by the user umask.



                What you might be able to do (it depends on OS support) - if you're using NFSv4 - is use an ACL. See the man page, specifically, the part about inheritance.






                share|improve this answer















                Short answer is - you can't. NFS permissions are handled by the client and file create permissions controlled by the user umask.



                What you might be able to do (it depends on OS support) - if you're using NFSv4 - is use an ACL. See the man page, specifically, the part about inheritance.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 1 '17 at 14:32









                SouravGhosh

                457311




                457311










                answered May 14 '15 at 8:48









                SobriqueSobrique

                3,819519




                3,819519



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f160361%2fstorage-server-all-nfs-users-on-full-666-file-permissions%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown






                    Popular posts from this blog

                    Peggy Mitchell

                    Palaiologos

                    The Forum (Inglewood, California)