|
|||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
#1 |
|
Prospect
Join Date: Mar 2004
Posts: 2
|
External PHANTOM Drive (no access) Permission, Disk Utility, Mounted, Terminal Code
NEED HELP BAD!!!
i have a external firewire hard drive with absolutely nothing wrong with it except the fact that i set the permissions on it (through the "get info" window) to "no access". i do this with folders all the time that i don't want the average joe taking a look at. very light protection because all you have to do is get info and switch the access. well on a drive that needs to be mounted in order to see in the first place, this trick doesn't work so well. so i take complete blame for the fowl up. so, i have talked to a mac friend and after a bit of time got me back into the drive by clearing up permissions through the terminal and remounting the drive. sudo chmod -R +rw /Volumes/liQuidAPOGEE sudo chown root /Volumes/liQuidAPOGEE sudo chgrp wheel /Volumes/liQuidAPOGEE after this i remounted the drive through Disk Utilities, and it seemed to mount and i could look at the files inside. wow, i was stoked. well after that i didn't need that external drive for a week or so, because it is a backup drive that has files i don't access often. so finally, today i tried to acces the drive after purchasing a new internal HD and backing up my entire system to my second internal HD. i needed more space because my client folder just keeps growing. that's a good thing. at the point i had a complete duplicate (using Super Duper!) i switched over to the new HD with the cloned system, fired up the external that had been giving problems last week, and it was once more invisible. it shows up perfectly fine in Disk Utility. But will not allow a repair of permissions. same is true when i boot from the OSX install CD. i am running a Dual 2Ghz G5 running OSX 10.4.2. the external drive hardware doesn't seem to be the problem. but it is a Maxtor 250GB External HD. the mount point for the drive is: /Volumes/liQuidAPOGEE that's it. i am looking for a guru to help me find the "too protected" already mounted yet "invisible" external hard drive. |
|
|
|
|
|
#2 |
|
Hall of Famer
Join Date: Jul 2003
Location: Montreal
Posts: 4,782
|
A quick thing to try is to run the same chmod commands you used last week so the drive shows up. Then once its visible again, do a Get Info and set the permissions properly. You could even choose to make it accessible to you only. That way other users should not be able to do anything with it.
__________________
Waffled foreheads are a symptom of broken keyboards and inexperienced users
|
|
|
|
|
|
#3 |
|
Prospect
Join Date: Jan 2006
Posts: 5
|
Hi, I have the same problem only the given solution doen't work
sudo chmod -R +rw /Volumes/namedisc sudo chown root /Volumes/namedisc sudo chgrp wheel /Volumes/namedisc i've tried it several times the first time i saw some disc activity but when i tried to remount the disc it still wouldn't show the second time i've tried iet after sudo chmod -R +rw /Volumes/namedisc i needet to fill in my admin password , did the same but it stil won't work i've tried apps like super get info and Xray but Xray crashes when i try to locate the disc and super get info won't let me make any adjuistments to the disc, and i get an "mac error -5000) i looked it up and it means "access denied" can anyone pleas help me out? all my music and school documents are on that disc and i need them fast! thanks alot! |
|
|
|
|
|
#4 | |||||||||||||||||||||||
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,938
|
Are you saying that you had previously changed the permissions on your external disk list the original poster? Or is the problem perhaps that the disk's filesystem is damaged and it is not mounting? Does Disk Utility see the disk? Try repairing the external disk's filesystem with Disk Utility's "Repair Disk".
__________________
hayne.net/macosx.html |
|||||||||||||||||||||||
|
|
|
|
|
#5 |
|
Prospect
Join Date: Jan 2006
Posts: 5
|
Hi,
Yes i had previously changed the permissions to write only and then No access, but when i tried to change it again it stayed stuck on no access the disk shows in Disk Utility but as an unknown file, when i try to repair it i get "repair not necessary" After i tried to change the permissions in terminal and i connected the firewire disc again spotlight started to index the disc, In the spotlight window (show all) the name of my disc is standing by locations spotlight also shows some of the files on the disc but as unknown files , when i try to open it the spotlight window closes I hope you can help me out |
|
|
|
|
|
#6 |
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,938
|
1) What version of OS X do you have?
2) When you do File / Get Info on this disk's icon in Finder, does it have the "ignore ownership" checkbox unchecked? 3) Pick one file as a sample for detailed investigation - e.g. suppose that file is called "foo" and is in the folder called "Docs" that is in the folder "MyStuff" that is at the top level of the external disk. And suppose that your external disk is called "MyDisk". Please launch the "Terminal" application (under /Applications/Utilities) and copy & paste the following commands, press Return, then copy & paste the results back here so we can see (change the names to conform with the actual names of the sample file you have chosen to look at): id ls -l /Volumes ls -ld /Volumes/MyDisk ls -ld /Volumes/MyDisk/MyStuff ls -ld /Volumes/MyDisk/MyStuff/Docs ls -l /Volumes/MyDisk/MyStuff/Docs/foo echo ---------------
__________________
hayne.net/macosx.html |
|
|
|
|
|
#7 |
|
Prospect
Join Date: Jan 2006
Posts: 5
|
Hi,
1) What version of OS X do you have? I'm using Mac Os X 10.4.4 2) When you do File / Get Info on this disk's icon in Finder, does it have the "ignore ownership" checkbox unchecked? I can't do file/get info on the disk icon because it doensn't show up on the desktop I couldn't remember much of the files on the disk so i had to adjuist the terminal script a bit (i hope it's still works so...) i made this of it id ls -l /Volumes ls -ld /Volumes/iLios ls -ld /Volumes/iLios/Backup ls -l /Volumes/iLios/Backup/iPhotoBackup.dmg echo --------------- Then i get Code:
random:~ random$ id uid=501(random) gid=501(random) groups=501(random), 81(appserveradm), 79(appserverusr), 80(admin) random:~ random$ ls -l /Volumes total 8 drwxr-xr-x 9 random random 340 Oct 20 2003 DISK PERMISSIONS UTILITY drwxrwxr-t 44 random random 1530 Jan 10 21:15 LaCie drwxr-xr-x 4 random admin 136 Oct 12 21:52 MYPOD drw-r-xr-x 13 random random 544 Jan 6 16:38 iLios lrwxr-xr-x 1 root admin 1 Jan 15 09:21 iSynth -> / random:~ random$ ls -ld /Volumes/iLios drw-r-xr-x 13 random random 544 Jan 6 16:38 /Volumes/iLios random:~ random$ ls -ld /Volumes/iLios/Backup ls: /Volumes/iLios/Backup: Permission denied random:~ random$ ls -l /Volumes/iLios/Backup/iPhotoBackup.dmg ls: /Volumes/iLios/Backup/iPhotoBackup.dmg: Permission denied random:~ random$ echo ---------------
|
|
|
|
|
|
#8 | |||||||||||||||||||||||
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,938
|
The above shows that the permissions on the top level folder of that disk are not correct. It lacks "search" permissions for owner. To fix this run the following command: chmod -R u+X /Volumes/iLios See this Unix FAQ for more info on permissions.
__________________
hayne.net/macosx.html |
|||||||||||||||||||||||
|
|
|
|
|
#9 |
|
Prospect
Join Date: Jan 2006
Posts: 5
|
when i paste chmod -R u+X /Volumes/iLios into terminal i get
random:~ random$ chmod -R u+X /Volumes/iLios chmod: /Volumes/iLios/.DS_Store: Permission denied chmod: /Volumes/iLios/.Onbekend: Permission denied chmod: /Volumes/iLios/.Spotlight-V100: Permission denied chmod: /Volumes/iLios/.TemporaryItems: Permission denied chmod: /Volumes/iLios/.Trashes: Permission denied chmod: /Volumes/iLios/.VolumeIcon.icns: Permission denied chmod: /Volumes/iLios/Backup: Permission denied chmod: /Volumes/iLios/Desktop DB: Permission denied chmod: /Volumes/iLios/Desktop DF: Permission denied chmod: /Volumes/iLios/Films: Permission denied chmod: /Volumes/iLios/Muziek: Permission denied chmod: /Volumes/iLios: Permission denied
|
|
|
|
|
|
#10 | |||||||||||||||||||||||
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,938
|
Okay, try it again but preface the command with 'sudo': sudo chmod -R u+X /Volumes/iLios
__________________
hayne.net/macosx.html |
|||||||||||||||||||||||
|
|
|
|
|
#11 |
|
Prospect
Join Date: Jan 2006
Posts: 5
|
Thanks! it works
Thank you so much! you saved my life
|
|
|
|
|
|
#12 |
|
Prospect
Join Date: Jan 2006
Posts: 2
|
Internal "Maxtor" Drive (no access) Permission, Disk Utility, Mounted, Terminal Code
Hi hayne
Having read the posts on this topic, I have exactly the same problem as Random_d, having set the permissions to No Access also. Having never used Terminal before, could you possibly talk me through what to do. The partition I cannot mount on my desktop is the Disk 1 partition, the Software Disk partition mounts fine. Having tried one of you lines I am seeing this. d---r-xr-x 26 Paul Paul 986 Jan 31 23:53 Disk 1 lrwxr-xr-x 1 root admin 1 Jan 31 23:19 G5 HD -> / drwxrwxrwx 17 Paul Paul 680 Jan 31 23:46 Software Disk I would really appreciate any help. regards Paul |
|
|
|
|
|
#13 | |||||||||||||||||||||||
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,938
|
Launch the "Terminal" application (under /Applications/Utilities) and copy & paste the following commands, then press Return, then copy & paste the results back here so we can see: sudo chmod -R u+X "/Volumes/Disk 1" ls -l /Volumes echo "done" Then restart your Mac and see if the disks mount properly.
__________________
hayne.net/macosx.html |
|||||||||||||||||||||||
|
|
|
|
|
#14 |
|
Prospect
Join Date: Jan 2006
Posts: 2
|
Hayne
You are a hero. After restart the disk reappeared on my desktop, with a folder icon and a little no access symbol next to it. So I was able to Get Info on it and change the ownership and permissions, and paste a new disk icon over the folder. What did the commands actually do? And what does the sequence of symbols as in "d---r-xr-x" mean? Before posting I had tried Diskwarrior, Techtool and also Disk Utility without success. I have looked at your website and will try and make a donation via Paypal. Many thanks Paul |
|
|
|
|
|
#15 | |||||||||||||||||||||||
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,938
|
See the section on permissions in this Unix FAQ
__________________
hayne.net/macosx.html |
|||||||||||||||||||||||
|
|
|
|
|
#16 | |||||||||||||||||||
|
Prospect
Join Date: Feb 2006
Posts: 7
|
Its terrible, I wanted to change the permission and ownership, and by doing so, I locked myself out of my own external Lacie mini 250G.
Cannot get to it from another computer either tried to restart my computer, and the Icon vanished from my desktop, A what U call, Phantom Drive. I've checked out various forums, and the nearest one to it seem this one. Next I tried the Diskutility, mounting, unmounting, etc... Then Hayne's Tip:
Didnt work for me I get Code:
Last login: Fri Feb 10 09:13:55 on ttyp1 Welcome to Darwin! chello062178166051:~ laurent$ id uid=501(laurent) gid=501(laurent) groups=501(laurent), 81(appserveradm), 79(appserverusr), 80(admin) chello062178166051:~ laurent$ ls -l /Volumes total 8 lrwxr-xr-x 1 root admin 1 Feb 10 08:29 Laurent -> / drwx------ 21 laurent laurent 748 Feb 9 14:44 Laurent HD d---r-xr-x 24 laurent laurent 918 Feb 9 14:31 Laurent's Drive chello062178166051:~ laurent$ ls -ld /Volumes/Laurent's Drive > ls -ld /Volumes/Laurent's Drive/Photos ls: /Volumes/Laurents Drive ls -ld /Volumes/Laurents: No such file or directory ls: Drive/Photos: No such file or directory chello062178166051:~ laurent$ ls -ld /Volumes/Laurent's Drive/Photos/07JAN05 > ls -l /Volumes/Laurent's Drive/Photos/07JAN05/DSC_0166.NEF ls: /Volumes/Laurents Drive/Photos/07JAN05 ls -l /Volumes/Laurents: No such file or directory ls: Drive/Photos/07JAN05/DSC_0166.NEF: No such file or directory chello062178166051:~ laurent$ echo --------------- Working on OSX 10.4.4 Laurent's Drive is the one, Lacie firewire400 Help, Au Secour, Hilfe, ??????, Ayuda |
|||||||||||||||||||
|
|
|
|
|
#17 | |||||||||||||||||||||||
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,938
|
The problem with the above is that your drive's name has spaces (and other special characters in it) so you will need to put the full path inside double-quotes: ls -ld "/Volumes/Laurent's Drive" Similarly for the other 'ls' commands. See the Unix FAQ referred to above for discussion of why this is necessary and other basics of Unix. And as for the fix, you probably will want to run the command I recommended above. In your case it would be: sudo chmod -R u+X "/Volumes/Laurent's Drive" (But I'm guessing here - to be sure we would need to see the results of the 'ls' commands referred to above.)
__________________
hayne.net/macosx.html |
|||||||||||||||||||||||
|
|
|
|
|
#18 |
|
Prospect
Join Date: Feb 2006
Posts: 7
|
Hayne, U r the absolut specialist the "" worked
I got this Code:
Last login: Fri Feb 10 16:54:31 on console Welcome to Darwin! chello062178166051:~ laurent$ id uid=501(laurent) gid=501(laurent) groups=501(laurent), 81(appserveradm), 79(appserverusr), 80(admin) chello062178166051:~ laurent$ ls -l /Volumes total 8 lrwxr-xr-x 1 root admin 1 Feb 10 16:52 Laurent -> / d---r-xr-x 24 laurent laurent 918 Feb 9 14:31 Laurent's Drive chello062178166051:~ laurent$ ls -ld "/Volumes/Laurent's Drive" d---r-xr-x 24 laurent laurent 918 Feb 9 14:31 /Volumes/Laurent's Drive chello062178166051:~ laurent$ ls -ld "/Volumes/Laurent's Drive/Audio" ls: /Volumes/Laurent's Drive/Audio: Permission denied chello062178166051:~ laurent$ ls -ld "/Volumes/Laurent's Drive/Audio/2Pac" ls: /Volumes/Laurent's Drive/Audio/2Pac: Permission denied chello062178166051:~ laurent$ ls -l "/Volumes/Laurent's Drive/Audio/2Pac/Changes.mp3" ls: /Volumes/Laurent's Drive/Audio/2Pac/Changes.mp3: Permission denied chello062178166051:~ laurent$ echo --------------- |
|
|
|
|
|
#19 | |||||||||||||||||||||||
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,938
|
Go ahead with the command I suggested above: sudo chmod -R u+X "/Volumes/Laurent's Drive"
__________________
hayne.net/macosx.html |
|||||||||||||||||||||||
|
|
|
|
|
#20 |
|
Prospect
Join Date: Feb 2006
Posts: 7
|
Nothing much happening,
Code:
chello062178166051:~ laurent$ echo ---------------sudo chmod -R u+X "/Volumes/Laurent's Drive" ---------------sudo chmod -R u+X /Volumes/Laurent's Drive chello062178166051:~ laurent$ |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|