LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot access usb drive -- you do not have permission error (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-access-usb-drive-you-do-not-have-permission-error-4175648184/)

Tem2 02-12-2019 07:36 PM

Cannot access usb drive -- you do not have permission error
 
My ubuntu system on my hard disk has problems with gparted...

So I booted from a usb in order to use gparted to shrink a partition on it (formatted as ext4)

The exact error is:
You do not have the permissions necessary to view the contents of “37e11092-192f-4e1a-bde0-2ac5ea808028”.

Here are some specs. Please help.

ubuntu@ubuntu:~$ uname -a
Linux ubuntu 4.4.0-31-generic #50~14.04.1-Ubuntu SMP Wed Jul 13 01:06:37 UTC 2016 i686 i686 i686 GNU/Linux

ubuntu@ubuntu:~$ df -hT
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 2.0G 12K 2.0G 1% /dev
tmpfs tmpfs 404M 1.3M 403M 1% /run
/dev/sdb iso9660 1.1G 1.1G 0 100% /cdrom
/dev/loop0 squashfs 1021M 1021M 0 100% /rofs
/cow overlay 2.0G 103M 1.9G 6% /
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 2.0G 1.1M 2.0G 1% /tmp
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 2.0G 80K 2.0G 1% /run/shm
none tmpfs 100M 72K 100M 1% /run/user
/dev/sdc ext4 56G 50G 4.0G 93% /media/ubuntu/37e11092-192f-4e1a-bde0-2ac5ea808028

ubuntu@ubuntu:~$ lsusb
Bus 002 Device 005: ID 0781:5575 SanDisk Corp.
Bus 002 Device 002: ID 0718:7722 Imation Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 003: ID 0483:2016 STMicroelectronics Fingerprint Reader
Bus 007 Device 004: ID 0b97:7772 O2 Micro, Inc. OZ776 CCID Smartcard Reader
Bus 007 Device 002: ID 0b97:7761 O2 Micro, Inc. Oz776 1.1 Hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

mrmazda 02-12-2019 07:55 PM

Quote:

Originally Posted by Tem2 (Post 5961248)
The exact error is:
You do not have the permissions necessary to view the contents of “37e11092-192f-4e1a-bde0-2ac5ea808028”.

What are the exact steps taken that lead to this error? It's not clear why you would need to "view contents of ...8028", which your df output shows is a (USB) device (because it is unpartitioned) with EXT4 filesystem.

Note that partitioning utilities of all types normally require superuser permission, so either sudo or root login to run them.

Tem2 02-12-2019 08:12 PM

Exact steps:

1. Boot with usb
2. Plug in second usb that I want to work on
3. Immediately I get the error:

You do not have the permissions necessary to view the contents of “37e11092-192f-4e1a-bde0-2ac5ea808028”.

mrmazda 02-12-2019 08:26 PM

Quote:

Originally Posted by Tem2 (Post 5961253)
Exact steps:1. Boot with usb

Exactly what does this entail? What do you see on the screen right before you plug in the other stick? We can't reproduce what you did if we don't know what you did. Most people don't boot from a USB stick to use a partitioner on another stick.

Tem2 02-12-2019 08:57 PM

I'm just going to start from scratch. I thought there might be a simple way to get permission. Thanks for your help.


All times are GMT -5. The time now is 08:11 AM.