PDA

View Full Version : Hidden Hard Drives


cyberped
02-14-2006, 08:45 AM
I have 2 accounts on my Mac and wanted to hide 2 external hard drives with work on them from the second account. I logged into it and in ownership and permissions opted to hide the drives, as my son has lost data in the past on them. I thought I would hide the drives from my secondary account and that I would have the drives mount on my desktop as usual on my admin account. Not so. Now I can not access either of my drives, Disk Utility sees them, but I can not access them. Is there anway of reversing this without having to format my drives and loose all my work. I can not see the drives so therefore can't select them to change the ownership and permissions. Is there any way to make the drives visible again, without having to format the drives? Any help would be appreciated. I can not find anything relating to this on the net. Thank you.

yellow
02-14-2006, 09:19 AM
I guess you chose "no access" in the Permissions part of Get Info?

Log into an Admin account, open Terminal.app, type in:

sudo chown -R username:admin /Volumes/volumename

Where "username" is the shortusername of your admin account, and "volumename" is the name of the external volume that has messed up permissions.

cyberped
02-14-2006, 01:03 PM
Hi, thanks for your help.
I tried this, but it did not work.
Am I doing something wrong?
Sorry to be a pain, but I am getting desperate.
The message I got back was as follows:

G5:~ G5$ sudo chown -R G5:admin /Volumes/200Gb
chown: /Volumes/200Gb/iPod/Ped's Stuff/Fonts/Adobe Font Folio Fonts/Electra 1/Caravan Borders: Operation not permitted
chown: /Volumes/200Gb/iPod/Ped's Stuff/Fonts/Adobe Font Folio Fonts/Electra 1/Electra 1: Operation not permitted
chown: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VIDEO_TS.BUP: Operation not permitted
chown: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VIDEO_TS.IFO: Operation not permitted
chown: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VIDEO_TS.VOB: Operation not permitted
chown: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VTS_01_0.BUP: Operation not permitted
chown: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VTS_01_0.IFO: Operation not permitted
chown: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VTS_01_0.VOB: Operation not permitted
chown: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VTS_01_1.VOB: Operation not permitted
chown: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VTS_01_2.VOB: Operation not permitted
chown: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VTS_01_3.VOB: Operation not permitted
chown: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VTS_01_4.VOB: Operation not permitted
G5:~ G5$ sudo chown -R G5:admin /Volumes/250Gb
chown: /Volumes/250Gb/Fonts/Adobe Font Folio Fonts/Electra 1/Caravan Borders: Operation not permitted
chown: /Volumes/250Gb/Fonts/Adobe Font Folio Fonts/Electra 1/Electra 1: Operation not permitted
chown: /Volumes/250Gb/MI Work on DVD/MI DVD 4/Sony-Argos HiMD FSDU A:W/Argos FSDU guides/Argos fonts/Trade Gothic 12/Trade Gothic Condensed: Operation not permitted
chown: /Volumes/250Gb/MI Work on DVD/MI DVD 8 (NA 2005)/National Accounts Trip 2005/AWARDS/Awards Logos/Awards 2003_web.jpg: Operation not permitted
G5:~ G5$

yellow
02-14-2006, 03:59 PM
If the files are locked, then you cannot change permissions on them in this way and you will get said errors.

Also, if you did choose "no access" then we move onto the next step which will get you corrected:

sudo chmod -R ug+wrX /Volumes/volumename

As before, "volumename"..

trevor
02-14-2006, 04:10 PM
yellow, why are you instructing cyberped to use the -R flag?

I would think that if he or she changed the ownership and permissions of the volume (and did not click "Apply to enclosed items...", which was never mentioned), that the commands without the -R flag should be adequate. Or are you asuming that the "Apply to enclosed items..." was clicked?

Trevor

cyberped
02-14-2006, 04:19 PM
Hi, I tried this with no joy.
All I got was:

G5:~ G5$ sudo chmod -R ug+wrX /Volumes/200Gb
chmod: /Volumes/200Gb/iPod/Ped's Stuff/Fonts/Adobe Font Folio Fonts/Electra 1/Caravan Borders: Operation not permitted
chmod: /Volumes/200Gb/iPod/Ped's Stuff/Fonts/Adobe Font Folio Fonts/Electra 1/Electra 1: Operation not permitted
chmod: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VIDEO_TS.BUP: Operation not permitted
chmod: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VIDEO_TS.IFO: Operation not permitted
chmod: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VIDEO_TS.VOB: Operation not permitted
chmod: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VTS_01_0.BUP: Operation not permitted
chmod: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VTS_01_0.IFO: Operation not permitted
chmod: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VTS_01_0.VOB: Operation not permitted
chmod: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VTS_01_1.VOB: Operation not permitted
chmod: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VTS_01_2.VOB: Operation not permitted
chmod: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VTS_01_3.VOB: Operation not permitted
chmod: /Volumes/200Gb/Mpeg Movies/P/LV_0219/VIDEO_TS/VTS_01_4.VOB: Operation not permitted
G5:~ G5$

Thank you.

cyberped
02-14-2006, 04:37 PM
Thanks alot.
I have just rebooted my Mac and retried the line of code you supplied, and upon restarting, the drives mounted on the desktop.

Thanks alot for your help.

yellow
02-14-2006, 05:37 PM
yellow, why are you instructing cyberped to use the -R flag?

I would think that if he or she changed the ownership and permissions of the volume (and did not click "Apply to enclosed items...", which was never mentioned), that the commands without the -R flag should be adequate. Or are you asuming that the "Apply to enclosed items..." was clicked?


Just to cover all the bases.. I'm also assuming the "no access" was select, but despite asking about it I've still not gotten an answer.

cyberped
02-14-2006, 05:54 PM
Sorry, yes no access was selected on the permissions.

Thank you for your help.

Cyberped.

Alex_76
05-28-2007, 11:47 AM
Hi guys.
Sorry to dig this old post but I’m having the same problem that cyberped did but the terminal comands aren't working for me...:(
I’ve a disc with 4 partitions, and I’ve click the NO ACESS on one of them. Now I can't see it anywhere. Just on Disck Utility, but I can't acess it.
When I type sudo chmod -R ug+wrX /Volumes/volumename on terminal it says: No such file or directory
My volume is called: My Stuff.
Is it because of the space between MY an Stuff?
Can anyone help me? All my personal stuff is there...
:(

Thank you all in advance!

Best regards,
Alex

yellow
05-29-2007, 09:31 AM
My volume is called: My Stuff.
Is it because of the space between MY an Stuff?

Yes.

sudo chmod -R ug+wrX "/Volumes/My Stuff"

or

sudo chmod -R ug+wrX /Volumes/My\ Stuff