what do the parameters uid and gid with /etc/fstab do?

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








up vote
2
down vote

favorite












I'm mounting directories. I wrote the needed lines to /etc/fstab.I'm using cifs protocoll.



I wonder what the parameters uid and gid do, since they're similar for any user. (So this can't be any user id.)










share|improve this question

























    up vote
    2
    down vote

    favorite












    I'm mounting directories. I wrote the needed lines to /etc/fstab.I'm using cifs protocoll.



    I wonder what the parameters uid and gid do, since they're similar for any user. (So this can't be any user id.)










    share|improve this question























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I'm mounting directories. I wrote the needed lines to /etc/fstab.I'm using cifs protocoll.



      I wonder what the parameters uid and gid do, since they're similar for any user. (So this can't be any user id.)










      share|improve this question













      I'm mounting directories. I wrote the needed lines to /etc/fstab.I'm using cifs protocoll.



      I wonder what the parameters uid and gid do, since they're similar for any user. (So this can't be any user id.)







      mount fstab cifs uid






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 13 at 18:07









      Asqiir

      19310




      19310




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          Mount options for Microsoft (and similar) file systems to set the owner and group



          From man mount,



          Mount options for fat
          (Note: fat is not a separate filesystem, but a common part of the
          msdos, umsdos and vfat filesystems.)

          ...

          uid=value and gid=value
          Set the owner and group of all files. (Default: the uid and
          gid of the current process.)


          There is a similar text for ntfs. See the following link for examples, where uid is used,



          How do I use 'chmod' on an NTFS (or FAT32) partition?






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            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: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1005876%2fwhat-do-the-parameters-uid-and-gid-with-etc-fstab-do%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



            accepted










            Mount options for Microsoft (and similar) file systems to set the owner and group



            From man mount,



            Mount options for fat
            (Note: fat is not a separate filesystem, but a common part of the
            msdos, umsdos and vfat filesystems.)

            ...

            uid=value and gid=value
            Set the owner and group of all files. (Default: the uid and
            gid of the current process.)


            There is a similar text for ntfs. See the following link for examples, where uid is used,



            How do I use 'chmod' on an NTFS (or FAT32) partition?






            share|improve this answer
























              up vote
              0
              down vote



              accepted










              Mount options for Microsoft (and similar) file systems to set the owner and group



              From man mount,



              Mount options for fat
              (Note: fat is not a separate filesystem, but a common part of the
              msdos, umsdos and vfat filesystems.)

              ...

              uid=value and gid=value
              Set the owner and group of all files. (Default: the uid and
              gid of the current process.)


              There is a similar text for ntfs. See the following link for examples, where uid is used,



              How do I use 'chmod' on an NTFS (or FAT32) partition?






              share|improve this answer






















                up vote
                0
                down vote



                accepted







                up vote
                0
                down vote



                accepted






                Mount options for Microsoft (and similar) file systems to set the owner and group



                From man mount,



                Mount options for fat
                (Note: fat is not a separate filesystem, but a common part of the
                msdos, umsdos and vfat filesystems.)

                ...

                uid=value and gid=value
                Set the owner and group of all files. (Default: the uid and
                gid of the current process.)


                There is a similar text for ntfs. See the following link for examples, where uid is used,



                How do I use 'chmod' on an NTFS (or FAT32) partition?






                share|improve this answer












                Mount options for Microsoft (and similar) file systems to set the owner and group



                From man mount,



                Mount options for fat
                (Note: fat is not a separate filesystem, but a common part of the
                msdos, umsdos and vfat filesystems.)

                ...

                uid=value and gid=value
                Set the owner and group of all files. (Default: the uid and
                gid of the current process.)


                There is a similar text for ntfs. See the following link for examples, where uid is used,



                How do I use 'chmod' on an NTFS (or FAT32) partition?







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 13 at 19:26









                sudodus

                20.4k32668




                20.4k32668



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1005876%2fwhat-do-the-parameters-uid-and-gid-with-etc-fstab-do%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    Which professions warranted travel in Medieval times?

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                    Trouble downloading packages list due to a “Hash sum mismatch” error