What is overriding the fstab permissions mounting option?

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












2














fstab:



LABEL="Shared" /home/howard/Shared/ ntfs permissions,rw,nosuid,nodev,relatime,uid=howard,gid=howard,allow_other,noatime,fmask=033,dmask=022 0 2


Mount with:



mount LABEL="Shared"


mount reports:




/dev/sda3 on /home/howard/Shared type fuseblk (rw,nosuid,nodev,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)




Note "permissions" option was not honored, and instead "default_permissions" appears. (Also blksize=4096 is being added without my request.) Why does the "permissions" option get changed to "default_permissions"?



I've tried both ntfs and ntfs-3g mount types. They both return with a "fuseblk" mount type.



The permissions option allows each file's owner, group, and ugo_rwx permissions to be set independently. With default_permissions you can only set these one time for all files in the filesystem, and you can't individual set each file's user, group and permissions.



Debian 8.5, Cinnamon 2.2.16, Linux Kernel 3.16.0-4-amd64










share|improve this question























  • Answer: no, there is not a 2nd place which provides mounting information. This is almost certainly an issue with ntfs-3g specifically. Can you please clarify whether the first invocation of mount (using fstab) is performed with root privileges / sudo or not. (This isn't as stupid as it sounds because it is specifically possible for ntfs-3g to be setuid-root).
    – sourcejedi
    Sep 17 '16 at 14:35















2














fstab:



LABEL="Shared" /home/howard/Shared/ ntfs permissions,rw,nosuid,nodev,relatime,uid=howard,gid=howard,allow_other,noatime,fmask=033,dmask=022 0 2


Mount with:



mount LABEL="Shared"


mount reports:




/dev/sda3 on /home/howard/Shared type fuseblk (rw,nosuid,nodev,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)




Note "permissions" option was not honored, and instead "default_permissions" appears. (Also blksize=4096 is being added without my request.) Why does the "permissions" option get changed to "default_permissions"?



I've tried both ntfs and ntfs-3g mount types. They both return with a "fuseblk" mount type.



The permissions option allows each file's owner, group, and ugo_rwx permissions to be set independently. With default_permissions you can only set these one time for all files in the filesystem, and you can't individual set each file's user, group and permissions.



Debian 8.5, Cinnamon 2.2.16, Linux Kernel 3.16.0-4-amd64










share|improve this question























  • Answer: no, there is not a 2nd place which provides mounting information. This is almost certainly an issue with ntfs-3g specifically. Can you please clarify whether the first invocation of mount (using fstab) is performed with root privileges / sudo or not. (This isn't as stupid as it sounds because it is specifically possible for ntfs-3g to be setuid-root).
    – sourcejedi
    Sep 17 '16 at 14:35













2












2








2







fstab:



LABEL="Shared" /home/howard/Shared/ ntfs permissions,rw,nosuid,nodev,relatime,uid=howard,gid=howard,allow_other,noatime,fmask=033,dmask=022 0 2


Mount with:



mount LABEL="Shared"


mount reports:




/dev/sda3 on /home/howard/Shared type fuseblk (rw,nosuid,nodev,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)




Note "permissions" option was not honored, and instead "default_permissions" appears. (Also blksize=4096 is being added without my request.) Why does the "permissions" option get changed to "default_permissions"?



I've tried both ntfs and ntfs-3g mount types. They both return with a "fuseblk" mount type.



The permissions option allows each file's owner, group, and ugo_rwx permissions to be set independently. With default_permissions you can only set these one time for all files in the filesystem, and you can't individual set each file's user, group and permissions.



Debian 8.5, Cinnamon 2.2.16, Linux Kernel 3.16.0-4-amd64










share|improve this question















fstab:



LABEL="Shared" /home/howard/Shared/ ntfs permissions,rw,nosuid,nodev,relatime,uid=howard,gid=howard,allow_other,noatime,fmask=033,dmask=022 0 2


Mount with:



mount LABEL="Shared"


mount reports:




/dev/sda3 on /home/howard/Shared type fuseblk (rw,nosuid,nodev,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)




Note "permissions" option was not honored, and instead "default_permissions" appears. (Also blksize=4096 is being added without my request.) Why does the "permissions" option get changed to "default_permissions"?



I've tried both ntfs and ntfs-3g mount types. They both return with a "fuseblk" mount type.



The permissions option allows each file's owner, group, and ugo_rwx permissions to be set independently. With default_permissions you can only set these one time for all files in the filesystem, and you can't individual set each file's user, group and permissions.



Debian 8.5, Cinnamon 2.2.16, Linux Kernel 3.16.0-4-amd64







permissions mount fstab options






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 17 '16 at 16:21

























asked Sep 17 '16 at 5:12









Eliptical view

5441622




5441622











  • Answer: no, there is not a 2nd place which provides mounting information. This is almost certainly an issue with ntfs-3g specifically. Can you please clarify whether the first invocation of mount (using fstab) is performed with root privileges / sudo or not. (This isn't as stupid as it sounds because it is specifically possible for ntfs-3g to be setuid-root).
    – sourcejedi
    Sep 17 '16 at 14:35
















  • Answer: no, there is not a 2nd place which provides mounting information. This is almost certainly an issue with ntfs-3g specifically. Can you please clarify whether the first invocation of mount (using fstab) is performed with root privileges / sudo or not. (This isn't as stupid as it sounds because it is specifically possible for ntfs-3g to be setuid-root).
    – sourcejedi
    Sep 17 '16 at 14:35















Answer: no, there is not a 2nd place which provides mounting information. This is almost certainly an issue with ntfs-3g specifically. Can you please clarify whether the first invocation of mount (using fstab) is performed with root privileges / sudo or not. (This isn't as stupid as it sounds because it is specifically possible for ntfs-3g to be setuid-root).
– sourcejedi
Sep 17 '16 at 14:35




Answer: no, there is not a 2nd place which provides mounting information. This is almost certainly an issue with ntfs-3g specifically. Can you please clarify whether the first invocation of mount (using fstab) is performed with root privileges / sudo or not. (This isn't as stupid as it sounds because it is specifically possible for ntfs-3g to be setuid-root).
– sourcejedi
Sep 17 '16 at 14:35










1 Answer
1






active

oldest

votes


















0














The permissions option is ignored and automatically changed to default_permissions whenever any of the following options is also included with it:



uid, gid, umask, dmask, or fmask



To help fix this you can use user_id and group_id in place of uid and gid.



But you must not use umask, dmask or fmask with permissions.



You'll know it's working when you get the following status from mount:




Using default user mapping





Note that initially all files are owned by root. You might want to change them recursively to be owned by you.






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%2f310470%2fwhat-is-overriding-the-fstab-permissions-mounting-option%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














    The permissions option is ignored and automatically changed to default_permissions whenever any of the following options is also included with it:



    uid, gid, umask, dmask, or fmask



    To help fix this you can use user_id and group_id in place of uid and gid.



    But you must not use umask, dmask or fmask with permissions.



    You'll know it's working when you get the following status from mount:




    Using default user mapping





    Note that initially all files are owned by root. You might want to change them recursively to be owned by you.






    share|improve this answer



























      0














      The permissions option is ignored and automatically changed to default_permissions whenever any of the following options is also included with it:



      uid, gid, umask, dmask, or fmask



      To help fix this you can use user_id and group_id in place of uid and gid.



      But you must not use umask, dmask or fmask with permissions.



      You'll know it's working when you get the following status from mount:




      Using default user mapping





      Note that initially all files are owned by root. You might want to change them recursively to be owned by you.






      share|improve this answer

























        0












        0








        0






        The permissions option is ignored and automatically changed to default_permissions whenever any of the following options is also included with it:



        uid, gid, umask, dmask, or fmask



        To help fix this you can use user_id and group_id in place of uid and gid.



        But you must not use umask, dmask or fmask with permissions.



        You'll know it's working when you get the following status from mount:




        Using default user mapping





        Note that initially all files are owned by root. You might want to change them recursively to be owned by you.






        share|improve this answer














        The permissions option is ignored and automatically changed to default_permissions whenever any of the following options is also included with it:



        uid, gid, umask, dmask, or fmask



        To help fix this you can use user_id and group_id in place of uid and gid.



        But you must not use umask, dmask or fmask with permissions.



        You'll know it's working when you get the following status from mount:




        Using default user mapping





        Note that initially all files are owned by root. You might want to change them recursively to be owned by you.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Sep 17 '16 at 16:32

























        answered Sep 17 '16 at 16:20









        Eliptical view

        5441622




        5441622



























            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2f310470%2fwhat-is-overriding-the-fstab-permissions-mounting-option%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

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

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?