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 06-02-2009, 11:11 PM   #1
gkhoward
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
"Permission Denied" when using Ubuntu live cd to recover thunderbird files.


On a crashed notebook that formally ran a dual boot vista/ubuntu8.10 setup, I'm trying to use an Ubuntu 9.04 live cd to copy my mozilla-thunderbird files to a usb drive. That is really the only thing that I would like save before I reformat the whole drive and install "jaunty".

Unfortunately, when I attempt this with the file browser, I receive this message:

"The folder ".mozilla-thunderbird" could not be copied because you do not have permission to read it." (I assume it's because I'm logged in as Live Session User...?)

Is there some way to log in as an "owner" on a live CD to get permission?
Is there a way to perform this action though the terminal without permission?
is there another live cd I should be using for this?
...or am a way of track?

Thanks
 
Old 06-02-2009, 11:54 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
login as root or do su or sudo
 
Old 06-02-2009, 11:55 PM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by gkhoward View Post
On a crashed notebook that formally ran a dual boot vista/ubuntu8.10 setup, I'm trying to use an Ubuntu 9.04 live cd to copy my mozilla-thunderbird files to a usb drive. That is really the only thing that I would like save before I reformat the whole drive and install "jaunty".

Unfortunately, when I attempt this with the file browser, I receive this message:

"The folder ".mozilla-thunderbird" could not be copied because you do not have permission to read it." (I assume it's because I'm logged in as Live Session User...?)

Is there some way to log in as an "owner" on a live CD to get permission?
Is there a way to perform this action though the terminal without permission?
is there another live cd I should be using for this?
...or am a way of track?

Thanks
Can you use sudo on the live cd? or login as root? In either case that should get you access to all files. If you can't do it with a Ubuntu live disk then try a knoppix live CD. If memory serves me you can access all the files with that.
cheers,
jdk
 
Old 06-03-2009, 06:12 AM   #4
paul81
LQ Newbie
 
Registered: Feb 2008
Location: Rotterdam, Netherlands
Distribution: Fedora and Ubuntu
Posts: 14

Rep: Reputation: 1
I think the problem lies in how the harddrive is mounted. I guess it's mounted as readonly.
What does the following command return for you?

Code:
$ mount

Last edited by paul81; 06-03-2009 at 06:12 AM. Reason: trying to get the 'code' tags working
 
Old 06-03-2009, 06:33 AM   #5
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
Just use a root terminal, as suggested, login with "sudo su"

A file browser may not be able to do it, but the term can-

Just use either the move or copy commands,
so, if the files are in your home folder and your usb is mounted and the partition is mounted-try this;
"sudo su"

"mount rw /dev/hda1 /media/disk" Or "mount rw /dev/hda1 /mnt/hda1"

"cp -apR /media/disk/home/files-u-want /media/usb0"
This assumes the hd partition is mounted on "/media/disk" and the usb is mounted on
"/media/usb0".

Also, this is using a Ubuntu livecd-8.04

Last edited by linus72; 06-03-2009 at 06:36 AM.
 
Old 06-04-2009, 11:12 AM   #6
gkhoward
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Original Poster
Rep: Reputation: 0
I kept getting "permission denied" using move and copy commands. I bet it's because the partition and usb were unmounted. I just ended up just using knoppix and it worked fine.
Thanks
 
  


Reply


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
"bash: /dev/null: Permission denied" on Ubuntu Login... sancho Ubuntu 10 10-07-2009 11:38 PM
accessing centos5.2 partition from ubuntu : "bash: cd: ckgan: Permission denied" centguy Linux - Software 5 02-24-2009 12:18 AM
"Permission denied" and "recursive directory loop" when searching for string in files mack1e Linux - Newbie 5 06-12-2008 07:38 AM
"Permission denied" when trying to copy files into mounted windows with all rights twist3r Linux - Newbie 14 05-06-2008 05:30 PM
Keep getting "Permission Denied" when trying to write files dunnd40 Debian 2 02-01-2004 10:29 AM


All times are GMT -5. The time now is 11:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration