Results 1 to 3 of 3

Thread: Mounted USB HDD only accessible by root

  1. #1
    Join Date
    2022-Jun
    Posts
    4

    Unhappy Mounted USB HDD only accessible by root

    Hi there,

    I want to attach an USB HDD to create backups. For this purpose I mounted the disk as my current user but I had to use "sudo". Now this user is not able to perform any changes on the disk. I added the disk to /etc/fstab but this also does not help:

    Code:
    /dev/sdb1    /media/usb_hdd     vfat  uid=1000,users           0  0
    Then I tried udisks2 via

    Code:
    udisksctl mount -b /dev/sdb1
    but still no access apart from being root.

    Any help greatly appreciated!

    Thanks

  2. #2
    Join Date
    2021-May
    Location
    UK
    Posts
    772

  3. #3
    Join Date
    2021-Jun
    Location
    The Land of the Dead
    Posts
    39
    Quote Originally Posted by kalinichta View Post
    Hi there,

    I want to attach an USB HDD to create backups. For this purpose I mounted the disk as my current user but I had to use "sudo". Now this user is not able to perform any changes on the disk.
    Nor should they be able to for good security practice.

    You can move files from the mounted USB HDD onto your resident HDD through your user file manager. The user can then make changes to those files as they see fit.

    To add files to, or delete files on, the mounted USB HDD you need to open your file manager using the sudo command and work from it as root.

    I use Xfe so I use:
    Code:
    sudo xfe
    When I'm done working with files I close the instance of Xfe and work from the user account as usual.

Similar Threads

  1. Terminals in Kali not accessible with screen reader
    By groothendrik in forum General Archive
    Replies: 3
    Last Post: 2022-08-17, 09:13
  2. Persistent Kali Live-USB with Windows accessible storage
    By edipp in forum Installing Archive
    Replies: 5
    Last Post: 2016-09-19, 01:46
  3. Replies: 0
    Last Post: 2016-04-18, 16:55

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •