LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   pulling data of world book hard drive (https://www.linuxquestions.org/questions/linux-newbie-8/pulling-data-of-world-book-hard-drive-901486/)

andrea1234 09-06-2011 05:52 PM

pulling data of world book hard drive
 
I am retrieving data from a WD world book 1 hard disk. i put it in a black widow external hard drive box and connected it to my linux box (Fedora 13) using a usb cable. Applications/systemtools/diskUtility sees the drive, showing it to be raid-1. Clicking on the largest raid component, I can then 'goToArray' and mount it. I see several folders, which ls -al shows are owned by others. chown -r desiredname foldername works to change ownership for all but one folder. Now the ls -al shows what is below, with owner 33 still unchanged. I have been able to copy all but that one folder to a new location, but can't seem to figure out how to access the MASTRO...one.

How to proceed? Is this some security feature for WD WorldBook 1, as this is the folder for the manager account.


drwsr-sr-x. 13 33 tape 4096 Mar 14 15:18 .
drwxr-xr-x. 8 root root 4096 Sep 6 18:04 ..
drws--S---. 11 tracy tape 4096 Mar 15 15:25 CHEN
drws--S---. 4 tracy tape 4096 May 20 2009 KRISHNAN
drwx------. 2 tracy root 16384 Apr 11 2008 lost+found
drws--S---. 80 33 tape 4096 Jul 19 17:32 MASTROOFFICE
drws--S---. 2 tracy tape 4096 Nov 10 2008 MILLER
drwsrwsrwx. 7 tracy tape 4096 Mar 12 2010 PUBLIC
drwx------. 2 tracy tape 4096 Nov 30 2006 .senvidData
drws--S---. 2 tracy tape 4096 Jul 23 2009 SHUMAN
drws--S---. 5 tracy tape 4096 Mar 15 14:11 SOSNOSKI
drws--S---. 2 tracy tape 4096 Mar 14 15:18 WALTERJACKSON
drws--S---. 2 tracy tape 4096 Nov 21 2008 WHEYPROJECT

Andrea

corp769 09-06-2011 07:48 PM

Hello,

Just curious, but have you tried doing it using your root account?

Cheers,

Josh

Tinkster 09-06-2011 07:56 PM

Quote:

Originally Posted by andrea1234 (Post 4463336)
I am retrieving data from a WD world book 1 hard disk. i put it in a black widow external hard drive box and connected it to my linux box (Fedora 13) using a usb cable. Applications/systemtools/diskUtility sees the drive, showing it to be raid-1. Clicking on the largest raid component, I can then 'goToArray' and mount it. I see several folders, which ls -al shows are owned by others. chown -r desiredname foldername works to change ownership for all but one folder. Now the ls -al shows what is below, with owner 33 still unchanged. I have been able to copy all but that one folder to a new location, but can't seem to figure out how to access the MASTRO...one.

How to proceed? Is this some security feature for WD WorldBook 1, as this is the folder for the manager account.


drwsr-sr-x. 13 33 tape 4096 Mar 14 15:18 .
drwxr-xr-x. 8 root root 4096 Sep 6 18:04 ..
drws--S---. 11 tracy tape 4096 Mar 15 15:25 CHEN
drws--S---. 4 tracy tape 4096 May 20 2009 KRISHNAN
drwx------. 2 tracy root 16384 Apr 11 2008 lost+found
drws--S---. 80 33 tape 4096 Jul 19 17:32 MASTROOFFICE
drws--S---. 2 tracy tape 4096 Nov 10 2008 MILLER
drwsrwsrwx. 7 tracy tape 4096 Mar 12 2010 PUBLIC
drwx------. 2 tracy tape 4096 Nov 30 2006 .senvidData
drws--S---. 2 tracy tape 4096 Jul 23 2009 SHUMAN
drws--S---. 5 tracy tape 4096 Mar 15 14:11 SOSNOSKI
drws--S---. 2 tracy tape 4096 Mar 14 15:18 WALTERJACKSON
drws--S---. 2 tracy tape 4096 Nov 21 2008 WHEYPROJECT

Andrea


What do you get when you cd up a level and do
ls -l
from there? And who owns the mountpoint?


Cheers,
Tink

andrea1234 09-09-2011 08:24 AM

to the first reply: i was working as su when I tried to change ownership

to the second reply:

after cd .. and ls -l i see this for the drive in question:

drwsr-sr-x. 13 33 tape 4096 Mar 14 15:18 25f08454-7d1b-4025-abee-94f814a70ed

andrea1234 09-09-2011 10:22 AM

so Tink, continuing, in the interest of learning i find that this line means that the owner is 33, the group is tape.to see the content, i think i need to change ownership or group, or create an account that matches the listed ones.

i have tried, as su, to chown -R tracy foldername but can't get it to change
i have tried, as su, to chgrp -R tracy foldername but can't get it to change
i created an account called 33, logged into it, but it also does not have access to the folder or desired file
i have not created a group called tape yet, will try that

where else can you point me to learn how to fix this problem?

A-

andrea1234 09-09-2011 04:25 PM

The problem has been solved. I'm not exactly sure what was the fix, but here is what I did for anyone who might have a similar issue.

opened the drive in disk utilities
moved to the large partition in the series of 4 raid-1 partitions on the disk
started the raid-1 in degraded mode

in terminal, as su
fsck.ext3 -rv /dev/sdr4
answered yes to all questions
this caused the journal to be deleted
some fixes followed
the journal was recreated

mounted the drive in disk utilities
went to the drive as su in terminal
chmod ugo=r name_of_folder

that unlocked the folder
cp'd all files to new hard drive
ownership was now root, so changed that

all data was recovered!

A-


All times are GMT -5. The time now is 12:43 AM.