LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-10-2012, 06:34 PM   #1
OmegaD
LQ Newbie
 
Registered: Dec 2010
Distribution: LMDE Xfce 64
Posts: 11

Rep: Reputation: 0
Angry How can I use a USB stick to back up my files... I keep getting "root"-related errors


I want to carry a USB stick with me to sync my files between multiple PC's that have LMDE Xfce on them.

I used GParted to format the entire space as ext4, primary. I then copied some files from the /home folder on my PC to the USB stick.

Now I can't even open the files unless I open the USB stick as "root", I can't copy them to my /home folder unless I also open my /home folder as root, and once they're copied, I can't access them unless I open the /home folder as root to view them. (The specific error I am getting is "You do not have the permissions necessary to open the file"

Unfortunately, I can't just start over with setting up the USB stick "correctly", because I am already in a situation where I need to restore some files from the USB stick to my PC.

First Question: How can I recover my files from my USB stick and make them accessible on my PC again without logging in as root each time I need to view or edit them?

Second Question: What is the correct way to set up a USB stick for simple transfer of files between two linux boxes?

Last edited by OmegaD; 02-10-2012 at 06:36 PM.
 
Old 02-10-2012, 08:44 PM   #2
OmegaD
LQ Newbie
 
Registered: Dec 2010
Distribution: LMDE Xfce 64
Posts: 11

Original Poster
Rep: Reputation: 0
My friend showed me what to do for the First Question...

Open USB as root
Open terminal there (as root)
Type
Quote:
chmod -R a+rw *
and hit enter

Done.

For the Second Question, it would seem ext4 wasn't really designed to work like that & one should just use ntfs.

Last edited by OmegaD; 02-10-2012 at 10:10 PM.
 
  


Reply

Tags
copy, gparted, permission, root, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Unable to mount USB stick "Only Root can do that"... dkolars Linux - Hardware 6 05-05-2011 03:01 AM
problems recovering from getpwnam error related to "too many open files" S_interactive Programming 3 02-19-2010 08:27 AM
LXer: Installing "Sugar on a stick" (Strawberry Release) On A USB Stick LXer Syndicated Linux News 0 08-04-2009 04:50 PM
I can't make screen size changes "stick" -- they're always set back after a reboot PTrenholme Ubuntu 15 02-29-2008 07:45 PM
alsamixer settings won't stick, "alsactl restore" as root after song change apax Linux - Software 0 01-01-2005 11:07 AM


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration