How to set fstab to be able to umount my external HDDs under normal user account?Can't mount EXT4 hard drive after mounting it in windowsError mounting drivesUnable to change permissions of file system rootNew SSD only mounts after issuing blkid command. [Ubuntu 14.04]USB hard drive doesn't auto mountExternal HDD won't Mount during BootWrong fs type, bad option, bad superblock on /dev/sdaXVirtualbox VMDK to bootable usb stick not workingTrigger script to run when USB drive connected with no user logged on on Ubuntu 18.04SSD clone doesn't boot or mount correctly

What happens if you roll doubles 3 times then land on "Go to jail?"

How do scammers retract money, while you can’t?

I'm in charge of equipment buying but no one's ever happy with what I choose. How to fix this?

What is the intuitive meaning of having a linear relationship between the logs of two variables?

How to run a prison with the smallest amount of guards?

Is expanding the research of a group into machine learning as a PhD student risky?

Do sorcerers' Subtle Spells require a skill check to be unseen?

For a non-Jew, is there a punishment for not observing the 7 Noahide Laws?

How do I go from 300 unfinished/half written blog posts, to published posts?

Why didn't Theresa May consult with Parliament before negotiating a deal with the EU?

Anatomically Correct Strange Women In Ponds Distributing Swords

Crossing the line between justified force and brutality

Sort a list by elements of another list

Do the temporary hit points from the Battlerager barbarian's Reckless Abandon stack if I make multiple attacks on my turn?

Integer addition + constant, is it a group?

Opposite of a diet

How to Reset Passwords on Multiple Websites Easily?

Are student evaluations of teaching assistants read by others in the faculty?

Why, precisely, is argon used in neutrino experiments?

Why Were Madagascar and New Zealand Discovered So Late?

Is this apparent Class Action settlement a spam message?

Applicability of Single Responsibility Principle

How to be diplomatic in refusing to write code that breaches the privacy of our users

How long to clear the 'suck zone' of a turbofan after start is initiated?



How to set fstab to be able to umount my external HDDs under normal user account?


Can't mount EXT4 hard drive after mounting it in windowsError mounting drivesUnable to change permissions of file system rootNew SSD only mounts after issuing blkid command. [Ubuntu 14.04]USB hard drive doesn't auto mountExternal HDD won't Mount during BootWrong fs type, bad option, bad superblock on /dev/sdaXVirtualbox VMDK to bootable usb stick not workingTrigger script to run when USB drive connected with no user logged on on Ubuntu 18.04SSD clone doesn't boot or mount correctly













0















System: Linux Mint 19.1 Cinnamon.



Disks in this question are considered external HDDs either ext4 or ntfs formatted.



I am interested in how do I manage to set my fstab or whatever else to be able to Unmount (umount) those external HDDs under my normal user account?




I have:



  • one External hard disk over USB 3.0 formatted as ext4


  • one External hard disk over USB 2.0 formatted as ntfs



Relevant parts of my fstab:



UUID=<the UUID of the Ext4 disk drive> /mnt/external-hdd-2tb-usb3-ext4 ext4 nosuid,nodev,nofail 0 0
UUID=<the UUID of the NTFS disk drive> /mnt/external-hdd-500gb-usb2-ntfs ntfs nosuid,nodev,nofail 0 0









share|improve this question




























    0















    System: Linux Mint 19.1 Cinnamon.



    Disks in this question are considered external HDDs either ext4 or ntfs formatted.



    I am interested in how do I manage to set my fstab or whatever else to be able to Unmount (umount) those external HDDs under my normal user account?




    I have:



    • one External hard disk over USB 3.0 formatted as ext4


    • one External hard disk over USB 2.0 formatted as ntfs



    Relevant parts of my fstab:



    UUID=<the UUID of the Ext4 disk drive> /mnt/external-hdd-2tb-usb3-ext4 ext4 nosuid,nodev,nofail 0 0
    UUID=<the UUID of the NTFS disk drive> /mnt/external-hdd-500gb-usb2-ntfs ntfs nosuid,nodev,nofail 0 0









    share|improve this question


























      0












      0








      0








      System: Linux Mint 19.1 Cinnamon.



      Disks in this question are considered external HDDs either ext4 or ntfs formatted.



      I am interested in how do I manage to set my fstab or whatever else to be able to Unmount (umount) those external HDDs under my normal user account?




      I have:



      • one External hard disk over USB 3.0 formatted as ext4


      • one External hard disk over USB 2.0 formatted as ntfs



      Relevant parts of my fstab:



      UUID=<the UUID of the Ext4 disk drive> /mnt/external-hdd-2tb-usb3-ext4 ext4 nosuid,nodev,nofail 0 0
      UUID=<the UUID of the NTFS disk drive> /mnt/external-hdd-500gb-usb2-ntfs ntfs nosuid,nodev,nofail 0 0









      share|improve this question
















      System: Linux Mint 19.1 Cinnamon.



      Disks in this question are considered external HDDs either ext4 or ntfs formatted.



      I am interested in how do I manage to set my fstab or whatever else to be able to Unmount (umount) those external HDDs under my normal user account?




      I have:



      • one External hard disk over USB 3.0 formatted as ext4


      • one External hard disk over USB 2.0 formatted as ntfs



      Relevant parts of my fstab:



      UUID=<the UUID of the Ext4 disk drive> /mnt/external-hdd-2tb-usb3-ext4 ext4 nosuid,nodev,nofail 0 0
      UUID=<the UUID of the NTFS disk drive> /mnt/external-hdd-500gb-usb2-ntfs ntfs nosuid,nodev,nofail 0 0






      mount fstab disk automounting






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited yesterday







      Vlastimil

















      asked yesterday









      VlastimilVlastimil

      8,3431465145




      8,3431465145




















          1 Answer
          1






          active

          oldest

          votes


















          0














          You actually might not need to do the first step, I will test this later - tomorrow onwards.





          First, I found out I needed to add myself to disk user group with:



          sudo usermod -aG disk YourUserName




          Second, you need to add users option to your fstab entries.




          Working example on my setup:



          UUID=<the UUID of the Ext4 disk drive> /mnt/external-hdd-2tb-usb3-ext4 ext4 nosuid,nodev,nofail,users 0 0
          UUID=<the UUID of the NTFS disk drive> /mnt/external-hdd-500gb-usb2-ntfs ntfs nosuid,nodev,nofail,users 0 0



          This will allow you (upon reboot) to execute for example:



          umount /dev/sdX1


          as an ordinary user without sudo.




          Additionally, on Linux Mint, there is a Disks GUI, where you can then even power off those drives, I stress: once you unmounted them!, by pressing the Power off this disk button in the top bar, on the right:



          Power off this disk - Linux Mint






          share|improve this answer

























          • Are you sure you need to add yourself to the disk group? That’s rather dangerous since processes running as you can now write directly to all disk devices. In my setup, users in /etc/fstab is sufficient, as long as mounting/unmounting is done consistently — i.e. umount works if the disks were mounted with mount, not if they were mounted by udisks or some other mechanism.

            – Stephen Kitt
            yesterday











          • @StephenKitt Not sure. I will stress it now, and continue testing tomorrow ok? Too much work today.

            – Vlastimil
            yesterday











          • Of course, there’s no rush ;-).

            – Stephen Kitt
            yesterday










          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%2f508681%2fhow-to-set-fstab-to-be-able-to-umount-my-external-hdds-under-normal-user-account%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














          You actually might not need to do the first step, I will test this later - tomorrow onwards.





          First, I found out I needed to add myself to disk user group with:



          sudo usermod -aG disk YourUserName




          Second, you need to add users option to your fstab entries.




          Working example on my setup:



          UUID=<the UUID of the Ext4 disk drive> /mnt/external-hdd-2tb-usb3-ext4 ext4 nosuid,nodev,nofail,users 0 0
          UUID=<the UUID of the NTFS disk drive> /mnt/external-hdd-500gb-usb2-ntfs ntfs nosuid,nodev,nofail,users 0 0



          This will allow you (upon reboot) to execute for example:



          umount /dev/sdX1


          as an ordinary user without sudo.




          Additionally, on Linux Mint, there is a Disks GUI, where you can then even power off those drives, I stress: once you unmounted them!, by pressing the Power off this disk button in the top bar, on the right:



          Power off this disk - Linux Mint






          share|improve this answer

























          • Are you sure you need to add yourself to the disk group? That’s rather dangerous since processes running as you can now write directly to all disk devices. In my setup, users in /etc/fstab is sufficient, as long as mounting/unmounting is done consistently — i.e. umount works if the disks were mounted with mount, not if they were mounted by udisks or some other mechanism.

            – Stephen Kitt
            yesterday











          • @StephenKitt Not sure. I will stress it now, and continue testing tomorrow ok? Too much work today.

            – Vlastimil
            yesterday











          • Of course, there’s no rush ;-).

            – Stephen Kitt
            yesterday















          0














          You actually might not need to do the first step, I will test this later - tomorrow onwards.





          First, I found out I needed to add myself to disk user group with:



          sudo usermod -aG disk YourUserName




          Second, you need to add users option to your fstab entries.




          Working example on my setup:



          UUID=<the UUID of the Ext4 disk drive> /mnt/external-hdd-2tb-usb3-ext4 ext4 nosuid,nodev,nofail,users 0 0
          UUID=<the UUID of the NTFS disk drive> /mnt/external-hdd-500gb-usb2-ntfs ntfs nosuid,nodev,nofail,users 0 0



          This will allow you (upon reboot) to execute for example:



          umount /dev/sdX1


          as an ordinary user without sudo.




          Additionally, on Linux Mint, there is a Disks GUI, where you can then even power off those drives, I stress: once you unmounted them!, by pressing the Power off this disk button in the top bar, on the right:



          Power off this disk - Linux Mint






          share|improve this answer

























          • Are you sure you need to add yourself to the disk group? That’s rather dangerous since processes running as you can now write directly to all disk devices. In my setup, users in /etc/fstab is sufficient, as long as mounting/unmounting is done consistently — i.e. umount works if the disks were mounted with mount, not if they were mounted by udisks or some other mechanism.

            – Stephen Kitt
            yesterday











          • @StephenKitt Not sure. I will stress it now, and continue testing tomorrow ok? Too much work today.

            – Vlastimil
            yesterday











          • Of course, there’s no rush ;-).

            – Stephen Kitt
            yesterday













          0












          0








          0







          You actually might not need to do the first step, I will test this later - tomorrow onwards.





          First, I found out I needed to add myself to disk user group with:



          sudo usermod -aG disk YourUserName




          Second, you need to add users option to your fstab entries.




          Working example on my setup:



          UUID=<the UUID of the Ext4 disk drive> /mnt/external-hdd-2tb-usb3-ext4 ext4 nosuid,nodev,nofail,users 0 0
          UUID=<the UUID of the NTFS disk drive> /mnt/external-hdd-500gb-usb2-ntfs ntfs nosuid,nodev,nofail,users 0 0



          This will allow you (upon reboot) to execute for example:



          umount /dev/sdX1


          as an ordinary user without sudo.




          Additionally, on Linux Mint, there is a Disks GUI, where you can then even power off those drives, I stress: once you unmounted them!, by pressing the Power off this disk button in the top bar, on the right:



          Power off this disk - Linux Mint






          share|improve this answer















          You actually might not need to do the first step, I will test this later - tomorrow onwards.





          First, I found out I needed to add myself to disk user group with:



          sudo usermod -aG disk YourUserName




          Second, you need to add users option to your fstab entries.




          Working example on my setup:



          UUID=<the UUID of the Ext4 disk drive> /mnt/external-hdd-2tb-usb3-ext4 ext4 nosuid,nodev,nofail,users 0 0
          UUID=<the UUID of the NTFS disk drive> /mnt/external-hdd-500gb-usb2-ntfs ntfs nosuid,nodev,nofail,users 0 0



          This will allow you (upon reboot) to execute for example:



          umount /dev/sdX1


          as an ordinary user without sudo.




          Additionally, on Linux Mint, there is a Disks GUI, where you can then even power off those drives, I stress: once you unmounted them!, by pressing the Power off this disk button in the top bar, on the right:



          Power off this disk - Linux Mint







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited yesterday

























          answered yesterday









          VlastimilVlastimil

          8,3431465145




          8,3431465145












          • Are you sure you need to add yourself to the disk group? That’s rather dangerous since processes running as you can now write directly to all disk devices. In my setup, users in /etc/fstab is sufficient, as long as mounting/unmounting is done consistently — i.e. umount works if the disks were mounted with mount, not if they were mounted by udisks or some other mechanism.

            – Stephen Kitt
            yesterday











          • @StephenKitt Not sure. I will stress it now, and continue testing tomorrow ok? Too much work today.

            – Vlastimil
            yesterday











          • Of course, there’s no rush ;-).

            – Stephen Kitt
            yesterday

















          • Are you sure you need to add yourself to the disk group? That’s rather dangerous since processes running as you can now write directly to all disk devices. In my setup, users in /etc/fstab is sufficient, as long as mounting/unmounting is done consistently — i.e. umount works if the disks were mounted with mount, not if they were mounted by udisks or some other mechanism.

            – Stephen Kitt
            yesterday











          • @StephenKitt Not sure. I will stress it now, and continue testing tomorrow ok? Too much work today.

            – Vlastimil
            yesterday











          • Of course, there’s no rush ;-).

            – Stephen Kitt
            yesterday
















          Are you sure you need to add yourself to the disk group? That’s rather dangerous since processes running as you can now write directly to all disk devices. In my setup, users in /etc/fstab is sufficient, as long as mounting/unmounting is done consistently — i.e. umount works if the disks were mounted with mount, not if they were mounted by udisks or some other mechanism.

          – Stephen Kitt
          yesterday





          Are you sure you need to add yourself to the disk group? That’s rather dangerous since processes running as you can now write directly to all disk devices. In my setup, users in /etc/fstab is sufficient, as long as mounting/unmounting is done consistently — i.e. umount works if the disks were mounted with mount, not if they were mounted by udisks or some other mechanism.

          – Stephen Kitt
          yesterday













          @StephenKitt Not sure. I will stress it now, and continue testing tomorrow ok? Too much work today.

          – Vlastimil
          yesterday





          @StephenKitt Not sure. I will stress it now, and continue testing tomorrow ok? Too much work today.

          – Vlastimil
          yesterday













          Of course, there’s no rush ;-).

          – Stephen Kitt
          yesterday





          Of course, there’s no rush ;-).

          – Stephen Kitt
          yesterday

















          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%2f508681%2fhow-to-set-fstab-to-be-able-to-umount-my-external-hdds-under-normal-user-account%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

          getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

          Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

          Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.