LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-12-2019, 07:36 PM   #1
Tem2
Member
 
Registered: Dec 2011
Posts: 243

Rep: Reputation: Disabled
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
 
Old 02-12-2019, 07:55 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,807
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Quote:
Originally Posted by Tem2 View Post
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.
 
Old 02-12-2019, 08:12 PM   #3
Tem2
Member
 
Registered: Dec 2011
Posts: 243

Original Poster
Rep: Reputation: Disabled
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”.
 
Old 02-12-2019, 08:26 PM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,807
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Quote:
Originally Posted by Tem2 View Post
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.
 
Old 02-12-2019, 08:57 PM   #5
Tem2
Member
 
Registered: Dec 2011
Posts: 243

Original Poster
Rep: Reputation: Disabled
I'm just going to start from scratch. I thought there might be a simple way to get permission. Thanks for your help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying To Use Samba First Time Error Message "[Folder name] not accessible You might not have permission to use this network resource" beginnermind Linux - Newbie 23 01-07-2017 01:33 PM
i have given chmod 777 permission for access now how to revert that permission mohdsuboor23 Linux - Server 1 12-11-2010 05:19 AM
[SOLVED] Cgi-bin error 403 Forbidden You do not have permission to access this document. samguy Linux - Newbie 13 06-02-2010 02:04 AM
du gives error : "du: cannot access `./.gvfs': Permission denied"du: cannot access `. MihirSahasrabudhe Linux - Security 4 12-29-2009 11:10 AM
permission problem - "You don't have permission to access" radone Linux - General 3 07-24-2006 10:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration