LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-09-2006, 05:27 PM   #1
Gogul
Member
 
Registered: Nov 2005
Posts: 112

Rep: Reputation: 15
Red face does anyone know how to retrieve data you forgot to change permissions to?


Hi everyone

While installing fedora I forgot to change the file permissions on my home partition, so now I can't access it as I don't have the r/w permissions *slaps head in simpson like style*

Does anyone know if there is any way of retrieving this data?

Any suggestions would be greatly appreciate

Thanks in advance

Last edited by Gogul; 05-09-2006 at 08:23 PM.
 
Old 05-09-2006, 05:38 PM   #2
AdaHacker
Member
 
Registered: Oct 2001
Location: Brockport, NY
Distribution: Kubuntu
Posts: 384

Rep: Reputation: 32
Why not just log in as root and change the permissions?
 
Old 05-09-2006, 06:05 PM   #3
Gogul
Member
 
Registered: Nov 2005
Posts: 112

Original Poster
Rep: Reputation: 15
I tried doing this with damn small linux from disc as I've done this before and using the dsl distro seemed to give me root permissions to do this, though I never actually tried doing that yet

not really sure why I didn't

thanks for your help
 
Old 05-09-2006, 06:21 PM   #4
Gogul
Member
 
Registered: Nov 2005
Posts: 112

Original Poster
Rep: Reputation: 15
nope that didn't work

I tried to access the storage media when logged on as root and got a message saying "Permissions Denied" when I tried to mount it

that seems a bit odd... any clues?

Last edited by Gogul; 05-09-2006 at 06:36 PM.
 
Old 05-09-2006, 07:31 PM   #5
AdaHacker
Member
 
Registered: Oct 2001
Location: Brockport, NY
Distribution: Kubuntu
Posts: 384

Rep: Reputation: 32
Root got a permission denied message? That doesn't sound right. What filesystem are you using for this partition? Maybe it would help if you posted the commands you're running and the output.
 
Old 05-09-2006, 07:49 PM   #6
Gogul
Member
 
Registered: Nov 2005
Posts: 112

Original Poster
Rep: Reputation: 15
Question

If my memory serves me correctly then I was using ext3. The file system I'm using on the main partition I'm trying to access it from uses ext2... could this really be the cause?

BTW I was using the kde konqueror GUI and right clicked on the partition I was attempting to access (hda6) by right clicking and selecting "Mount" which resulted in the error message "Permissions Denied".

I don't think it would be a problem with the application because I tried dong the same thing with the Gnome file browser which had the same result.

The shell is always an option and I could attempt the chmod command to see what happens... still I appreciate any advice

Last edited by Gogul; 05-09-2006 at 07:55 PM.
 
Old 05-10-2006, 08:45 AM   #7
dickgregory
Member
 
Registered: Oct 2002
Location: Houston
Distribution: Arch, PCLinuxOS, Mint
Posts: 257

Rep: Reputation: 34
Are you trying to work through NFS. Depending on your configuration, root via NFS becomes nobody with no admin capability. To change permissions, work from the machine the partition is physically mounted on.

If this is not your case, sorry. I guess you are back to square one.
 
Old 05-10-2006, 09:33 AM   #8
Gogul
Member
 
Registered: Nov 2005
Posts: 112

Original Poster
Rep: Reputation: 15
well I'm an idiot

While installing fedora I forgot to set this mount point I'm trying to access as my home directory, though that's what happens when you're tired I suppose.

If I can't do it by adjusting some settings, then all I can think of is to reinstall then select that mount point as my home partition... well I guess once a always a

Ok well thanks for your help anyway and I'll post another comment soon to let you know how I get on
 
Old 05-10-2006, 05:22 PM   #9
Gogul
Member
 
Registered: Nov 2005
Posts: 112

Original Poster
Rep: Reputation: 15
as I thought I just forgot to specify the mount point for my home directory

well thanks for your help

Dene

 
Old 05-11-2006, 10:51 PM   #10
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Stick a live CD in the CD drive, boot, then mount the affected drive and fix whatever has to be fixed; permissions, mountpoints, passwords, or whatever else. No need to reinstall.
 
Old 05-12-2006, 02:41 AM   #11
Gogul
Member
 
Registered: Nov 2005
Posts: 112

Original Poster
Rep: Reputation: 15
getting write permissions is a problem when using the mount point mentioned as a home directory but got the problem sorted now

Thanks for your help

Regards

Dene
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 04:11 AM
Can I retrieve my data lost after installing Linux? alanell712 Red Hat 6 03-05-2006 06:35 AM
trying to change write to /data not enough permissions gonus Linux - General 1 10-21-2005 08:47 PM
"cannot change file permissions" error when moving data to and from pendrive Whiskers Mandriva 4 01-02-2005 02:49 AM
Very urgent! Need to retrieve some data! Help bikov_k General 2 10-16-2004 06:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:36 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