Ask Your Question

backup usb i made doesn't give me permission to view it

asked 2014-07-06 21:53:46 -0500

cwpeaden gravatar image

updated 2014-09-28 23:56:25 -0500

mether gravatar image

I made a backup usb drive in ext 3 format to hold my virtual machine earlier today in fedora 14. The software on the virtual machine is highly important and valuable, which is why i was too scared until now to even try to upgrade fedora. now I have fedora 20 and user#500 has permission for the usb and i can't figure out how to access it. I keep finding vague references to the issue in google and linux forums, but I'm not good enough with the terminal to understand i guess.

edit retag flag offensive close merge delete


If your question doesn't show up right away, it's because all posts here are moderated. Posting the same question again won't get you an answer sooner, it just makes more work for the moderators who have to delete or close the duplicates.

sideburns gravatar imagesideburns ( 2014-07-07 01:16:54 -0500 )edit

Back in F 14, the first regular user had UID 500; in F 20, it's 1000. Make sure that the permissions on the drive are set to be r/w for the world.

sideburns gravatar imagesideburns ( 2014-07-07 01:20:30 -0500 )edit

I apologize for the double post. I typed the question then after it asked me to register it vanished so I wasn't sure what happened. I ran the commands that were listed above and it did at least make the usb light flash, and now when I go to disks I can mount and unmount it without it telling me I can't, but when I try to actually open the usb drive in nautilus it still says I don't hvae permission to view it. Any ideas?

cwpeaden gravatar imagecwpeaden ( 2014-07-07 06:26:53 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-07-07 03:02:03 -0500

hedayat gravatar image

Actually the short answer is what sideburns said in the comments of the question; however I think that you might need a more complete answer.

Find out where your USB drive is mounted. e.g. In Files (nautilus) go to the USB disk and press Ctrl+L. You'll see the address of USB mount point in the address bar (e.g. /run/media/username/FlashLabel/)

Open a Terminal, and run the following command (replace the correct address:

sudo chown 1000:1000 /run/media/username/FlashLabel/* -R


su -c 'chown 1000:1000 /run/media/username/FlashLabel/* -R'

I used a '*' so that it'll change the owner of all files/directories in your USB disk. You can put the file name of the desired files instead of it.

edit flag offensive delete link more


I think the -R switch does exactly, what the * wildcard also does. But doesn't hurt to add them both. :) +1 for the answer.

NickTux gravatar imageNickTux ( 2014-07-07 03:27:45 -0500 )edit

Well, almost but not exactly :). Removing -R would exclude contents of directories inside USB disk (if any). But removing * might practically have no effect (If I'm not mistaken, it'll cause chown to touch FlashLabel directory, while with * we are referring to its contents rather than itself). BTW, actually I'd prefer if the user replaced * with the desired file/directory names, so that a directory like lost+found is preserved as-is. Finally, thanks for the vote! :)

hedayat gravatar imagehedayat ( 2014-07-07 06:07:00 -0500 )edit

I did the command lines it possible I need to add a packet, program,etc? Usually I find with terminal commands that when something doesn't work or does nothing it will say "nothing to do" "no such thing" etc. I found the usb location and typed this [root@localhost cpeaden]# su -c 'chown 1000:1000 /run/media/cpeaden/backup/* -R' and the light on the usb flashed a couple of times and nothing else changed. Maybe I didn't wait long enough? Maybe it takes a while?

cwpeaden gravatar imagecwpeaden ( 2014-07-07 11:29:53 -0500 )edit

I had an epiphany earlier and looked at files through terminal instead of Nautilus and the ownership was changed. Thank you very much

cwpeaden gravatar imagecwpeaden ( 2014-07-07 13:57:44 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2014-07-06 21:53:46 -0500

Seen: 761 times

Last updated: Jul 07 '14