How can I change my usb from root to non-root permissions?Unable to change permissions of file system...

How to train a replacement without them knowing?

Vegetarian dishes on Russian trains (European part)

When does The Truman Show take place?

What's the relationship betweeen MS-DOS and XENIX?

What is the opposite of "hunger level"?

Do predators tend to have vertical slit pupils versus horizontal for prey animals?

Icon is not displayed in lwc

Replacing old plug-in 220V range with new hardwire 3-wire electric cooktop: remove outlet or add a plug?

Have made several mistakes during the course of my PhD. Can't help but feel resentment. Can I get some advice about how to move forward?

Quick destruction of a helium filled airship?

Why do so many people play out of turn on the last lead?

Did Michelle Obama have a staff of 23; and Melania have a staff of 4?

What should I do with the stock I own if I anticipate there will be a recession?

μονάδαι as plural form of μονάς

Eric Andre had a dream

The Tripan Balance

What if a restaurant suddenly cannot accept credit cards, and the customer has no cash?

Adding things to bunches of things vs multiplication

C++ Least cost swapping 2

Has there ever been a truly bilingual country prior to the contemporary period?

Gofer work in exchange for Letter of Recommendation

From where do electrons gain kinetic energy through a circuit?

How to use the passive form to say "This flower was watered."

global variant of csname…endcsname



How can I change my usb from root to non-root permissions?


Unable to change permissions of file system rootMounting USB Drive — Cannot delete files unless have su permissionsHow to specify owner and permissions for an NFS mount?debian 8.2 can no longer su to rootHow can I take permissions over /boot on my mounted HDD from bootable disc?I want to change permissions on all folders/files excluding some of themHow come I, as a normal user, am able to change ownership of a file?Use external drive as a folder in nginx






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















sudo mount -o rw /dev/sda1 /media



I connect a usb and mount it with previous command. This automatically puts all folders into "root ownership" and does not allow me to add any files or rename anything (though it had been before today, for some reason).



When I connect usb to desktop port and mount it 'without' a command, but by just clicking on the usb "icon" in file manager, it does NOT mount it as root and I have full access to the usb.



My efforts to change root permissions on a folder by folder basis:
sudo chmod 777 filename; sudo chown whoami:root filename, or, sudo chown root:root filename. The folder becomes unlocked, but stays as 'root' permissions.



I also opened a terminal in the /media and did sudo -s and tried changing ownership there as well, but no change from root permissions.










share|improve this question



























  • Try sudo chown -v -R whoami:whoami /dev/sda1 and then sudo chmod -v -R 0777 /dev/sda1

    – Bjorn
    2 days ago


















0















sudo mount -o rw /dev/sda1 /media



I connect a usb and mount it with previous command. This automatically puts all folders into "root ownership" and does not allow me to add any files or rename anything (though it had been before today, for some reason).



When I connect usb to desktop port and mount it 'without' a command, but by just clicking on the usb "icon" in file manager, it does NOT mount it as root and I have full access to the usb.



My efforts to change root permissions on a folder by folder basis:
sudo chmod 777 filename; sudo chown whoami:root filename, or, sudo chown root:root filename. The folder becomes unlocked, but stays as 'root' permissions.



I also opened a terminal in the /media and did sudo -s and tried changing ownership there as well, but no change from root permissions.










share|improve this question



























  • Try sudo chown -v -R whoami:whoami /dev/sda1 and then sudo chmod -v -R 0777 /dev/sda1

    – Bjorn
    2 days ago














0












0








0








sudo mount -o rw /dev/sda1 /media



I connect a usb and mount it with previous command. This automatically puts all folders into "root ownership" and does not allow me to add any files or rename anything (though it had been before today, for some reason).



When I connect usb to desktop port and mount it 'without' a command, but by just clicking on the usb "icon" in file manager, it does NOT mount it as root and I have full access to the usb.



My efforts to change root permissions on a folder by folder basis:
sudo chmod 777 filename; sudo chown whoami:root filename, or, sudo chown root:root filename. The folder becomes unlocked, but stays as 'root' permissions.



I also opened a terminal in the /media and did sudo -s and tried changing ownership there as well, but no change from root permissions.










share|improve this question
















sudo mount -o rw /dev/sda1 /media



I connect a usb and mount it with previous command. This automatically puts all folders into "root ownership" and does not allow me to add any files or rename anything (though it had been before today, for some reason).



When I connect usb to desktop port and mount it 'without' a command, but by just clicking on the usb "icon" in file manager, it does NOT mount it as root and I have full access to the usb.



My efforts to change root permissions on a folder by folder basis:
sudo chmod 777 filename; sudo chown whoami:root filename, or, sudo chown root:root filename. The folder becomes unlocked, but stays as 'root' permissions.



I also opened a terminal in the /media and did sudo -s and tried changing ownership there as well, but no change from root permissions.







permissions usb root






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago









Bart

1,2041 gold badge3 silver badges18 bronze badges




1,2041 gold badge3 silver badges18 bronze badges










asked 2 days ago









hddfsck777hddfsck777

316 bronze badges




316 bronze badges
















  • Try sudo chown -v -R whoami:whoami /dev/sda1 and then sudo chmod -v -R 0777 /dev/sda1

    – Bjorn
    2 days ago



















  • Try sudo chown -v -R whoami:whoami /dev/sda1 and then sudo chmod -v -R 0777 /dev/sda1

    – Bjorn
    2 days ago

















Try sudo chown -v -R whoami:whoami /dev/sda1 and then sudo chmod -v -R 0777 /dev/sda1

– Bjorn
2 days ago





Try sudo chown -v -R whoami:whoami /dev/sda1 and then sudo chmod -v -R 0777 /dev/sda1

– Bjorn
2 days ago










2 Answers
2






active

oldest

votes


















1














Without root permissions, you can't use mount like this, because pretty much anybody would be able to mount devices.



Non-privileged users can mount what you specify in /etc/fstab (you can read up on it here: https://superuser.com/questions/174776/modify-fstab-entry-so-all-users-can-read-and-write-to-an-ext4-volume)
Or you can use some wrapper around mount, like pmount (https://linux.die.net/man/1/pmount)






share|improve this answer








New contributor



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





























    0














    I don't know if this will help you to achieve your goals, but it is a good way to mount devices by command-line:



    udisksctl mount --block-device /dev/disk/by-label/NAME-OF-UFD





    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%2f535740%2fhow-can-i-change-my-usb-from-root-to-non-root-permissions%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      Without root permissions, you can't use mount like this, because pretty much anybody would be able to mount devices.



      Non-privileged users can mount what you specify in /etc/fstab (you can read up on it here: https://superuser.com/questions/174776/modify-fstab-entry-so-all-users-can-read-and-write-to-an-ext4-volume)
      Or you can use some wrapper around mount, like pmount (https://linux.die.net/man/1/pmount)






      share|improve this answer








      New contributor



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


























        1














        Without root permissions, you can't use mount like this, because pretty much anybody would be able to mount devices.



        Non-privileged users can mount what you specify in /etc/fstab (you can read up on it here: https://superuser.com/questions/174776/modify-fstab-entry-so-all-users-can-read-and-write-to-an-ext4-volume)
        Or you can use some wrapper around mount, like pmount (https://linux.die.net/man/1/pmount)






        share|improve this answer








        New contributor



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
























          1












          1








          1







          Without root permissions, you can't use mount like this, because pretty much anybody would be able to mount devices.



          Non-privileged users can mount what you specify in /etc/fstab (you can read up on it here: https://superuser.com/questions/174776/modify-fstab-entry-so-all-users-can-read-and-write-to-an-ext4-volume)
          Or you can use some wrapper around mount, like pmount (https://linux.die.net/man/1/pmount)






          share|improve this answer








          New contributor



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









          Without root permissions, you can't use mount like this, because pretty much anybody would be able to mount devices.



          Non-privileged users can mount what you specify in /etc/fstab (you can read up on it here: https://superuser.com/questions/174776/modify-fstab-entry-so-all-users-can-read-and-write-to-an-ext4-volume)
          Or you can use some wrapper around mount, like pmount (https://linux.die.net/man/1/pmount)







          share|improve this answer








          New contributor



          puzzle 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 answer



          share|improve this answer






          New contributor



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








          answered 2 days ago









          puzzlepuzzle

          413 bronze badges




          413 bronze badges




          New contributor



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




          New contributor




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






























              0














              I don't know if this will help you to achieve your goals, but it is a good way to mount devices by command-line:



              udisksctl mount --block-device /dev/disk/by-label/NAME-OF-UFD





              share|improve this answer






























                0














                I don't know if this will help you to achieve your goals, but it is a good way to mount devices by command-line:



                udisksctl mount --block-device /dev/disk/by-label/NAME-OF-UFD





                share|improve this answer




























                  0












                  0








                  0







                  I don't know if this will help you to achieve your goals, but it is a good way to mount devices by command-line:



                  udisksctl mount --block-device /dev/disk/by-label/NAME-OF-UFD





                  share|improve this answer













                  I don't know if this will help you to achieve your goals, but it is a good way to mount devices by command-line:



                  udisksctl mount --block-device /dev/disk/by-label/NAME-OF-UFD






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 2 days ago









                  Regis BarbosaRegis Barbosa

                  112 bronze badges




                  112 bronze badges

































                      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%2f535740%2fhow-can-i-change-my-usb-from-root-to-non-root-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

                      Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                      Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                      Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...