Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rating: Thread Rating: 49 votes, 5.00 average. Display Modes
Old 04-05-2007, 12:58 PM   #121
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
Quote:
Originally Posted by bont100
michael-ireis-computer:~ mirei$ ls -l /Volumes
total 8
lrwxr-xr-x 1 root admin 1 Apr 4 10:40 BOOT -> /
michael-ireis-computer:~ mirei$ ls -l "/Volumes/LaCie Disk"
ls: /Volumes/LaCie Disk: No such file or directory

The above shows that your external disk is not mounted.
Try selecting it in Disk Utility and then clicking on the Mount button.
__________________
hayne.net/macosx.html
hayne is online now   Reply With Quote
Old 04-05-2007, 09:34 PM   #122
bont100
Prospect
 
Join Date: Apr 2007
Posts: 4
yes, this mounting method will not work either.
I've received instruction on how to reformat, I'm hoping it will mount itself and the most important files on the HD are also located elsewhere, but I'd rather not do that without trying everything... anything else I could try?
Thanks for your help
bont100 is offline   Reply With Quote
Old 04-06-2007, 03:40 PM   #123
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
If the disk won't mount, it might be because the filesystem on it is damaged. Try repairing the filesystem with Disk Utility ("Repair Disk") or with DiskWarrior.
__________________
hayne.net/macosx.html
hayne is online now   Reply With Quote
Old 04-07-2007, 09:31 PM   #124
bont100
Prospect
 
Join Date: Apr 2007
Posts: 4
repair wouldn't work/help anything. I went ahead and erased and reformatted. Lost some things, but nothing too important.
Thanks for all your help though!
bont100 is offline   Reply With Quote
Old 04-08-2007, 09:59 AM   #125
bkk4life
Registered User
 
Join Date: Apr 2007
Posts: 1
i have similar problem... external drive disappeared!

dear hayne,

i have an external drive and recently i have set the permission to no read and write to block other users from accessing it, apparently i have blocked myself and the harddrive icon doesn't show up anymore.

i ran the following command:

id
ls -l /Volumes
echo "done"

and get:

Last login: Sun Apr 8 20:42:09 on console
Welcome to Darwin!
zak-sanguanshuas-computer:~ Zak$ id
uid=501(Zak) gid=501(Zak) groups=501(Zak), 81(appserveradm), 79(appserverusr), 80(admin)
zak-sanguanshuas-computer:~ Zak$ ls -l /Volumes
total 72
lrwxr-xr-x 1 root admin 1 Apr 8 20:41 Macintosh HD -> /
drwx------ 26 Mom Guest 918 Feb 4 23:47 WD FireWire HD
drwxrwxrwx 1 Zak Zak 32768 Jan 1 1980 WINDOWS XP
zak-sanguanshuas-computer:~ Zak$ echo "done"
done

i have also used sudo command:

sudo chmod -R u+rwX "/Volumes/WD FireWire HD"

and get:
password: enteredmypassword

i restarted the computer but still nothing doing! what have i done wrong? did i run the wrong command? please advise

thanks,
zak
bkk4life is offline   Reply With Quote
Old 04-08-2007, 12:42 PM   #126
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
Quote:
Originally Posted by bkk4life
Code:
Last login: Sun Apr  8 20:42:09 on console
Welcome to Darwin!
zak-sanguanshuas-computer:~ Zak$ id
uid=501(Zak) gid=501(Zak) groups=501(Zak), 81(appserveradm), 79(appserverusr), 80(admin)
zak-sanguanshuas-computer:~ Zak$ ls -l /Volumes
total 72
lrwxr-xr-x    1 root  admin      1 Apr  8 20:41 Macintosh HD -> /
drwx------   26 Mom   Guest    918 Feb  4 23:47 WD FireWire HD
drwxrwxrwx    1 Zak   Zak    32768 Jan  1  1980 WINDOWS XP
zak-sanguanshuas-computer:~ Zak$ echo "done"
done

The above shows that your "WD FireWire HD" drive is owned by user "Mom" and has permissions only for owner.
Your user is "Zak" who therefore has no access to this drive.
If you want to make it accessible to all users, run the command:

sudo chmod a+rwX "/Volumes/WD FireWire HD"
__________________
hayne.net/macosx.html
hayne is online now   Reply With Quote
Old 05-17-2007, 09:02 AM   #127
vw.architectes
Registered User
 
Join Date: May 2007
Posts: 1
phantom external drive (no access) Permission, Disk Utility, mounted, Terminal - VWA

Dear Hayne,
I am having the same problem as bkk4life regarding the Phantom external drive because I accidentally set the ownership & permissions to "no access". I have tried to follow the terminal commands I found in this thread but it doesn't seem to be working. Here is my latest terminal input:

Last login: Thu May 17 14:44:48 on ttyp1
Welcome to Darwin!
Brown-Dog:~ cpv$ id
uid=503(cpv) gid=503(cpv) groups=503(cpv), 81(appserveradm), 79(appserverusr), 80(admin)
Brown-Dog:~ cpv$ ls -l /Volumes
total 8
drwxrwxrwx 14 root wheel 578 May 17 11:51 1Tb VWA Archive
lrwxr-xr-x 1 root admin 1 May 17 14:41 Brown Dog -> /
Brown-Dog:~ cpv$ echo "done"
done
Brown-Dog:~ cpv$ sudo chmod -R u+rwX "/Volumes/1Tb VWA Archive"
Password:
Brown-Dog:~ cpv$

After restarting, my external drive still doesn't show up on my desktop. Could you help me resolve my problem?
vw.architectes is offline   Reply With Quote
Old 05-18-2007, 01:16 AM   #128
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
Quote:
Originally Posted by vw.architectes
I am having the same problem as bkk4life regarding the Phantom external drive because I accidentally set the ownership & permissions to "no access". I have tried to follow the terminal commands I found in this thread but it doesn't seem to be working. Here is my latest terminal input:
Code:
Last login: Thu May 17 14:44:48 on ttyp1
Welcome to Darwin!
Brown-Dog:~ cpv$ id
uid=503(cpv) gid=503(cpv) groups=503(cpv), 81(appserveradm), 79(appserverusr), 80(admin)
Brown-Dog:~ cpv$ ls -l /Volumes
total 8
drwxrwxrwx   14 root  wheel  578 May 17 11:51 1Tb VWA Archive
lrwxr-xr-x    1 root  admin    1 May 17 14:41 Brown Dog -> /
Brown-Dog:~ cpv$ echo "done"
done
Brown-Dog:~ cpv$ sudo chmod -R u+rwX "/Volumes/1Tb VWA Archive"
Password:
Brown-Dog:~ cpv$
After restarting, my external drive still doesn't show up on my desktop

The above result (drwxrwxrwx) from the 'ls -l' on your external drive shows that the problem doesn't appear to be related to permissions since it has full access for all. (See the Unix FAQ referred to above for a full explanation of permissions)

So maybe it isn't showing up for some other reason.
Go into Disk Utility and select that drive (on the left side of the Disk Utility window) and then press the Mount button. What happens?
Note that you should check if it appears in a Finder window - don't worry about it appearing on the Desktop for the moment.
And check your Finder preferences to make sure that there is a checkmark beside the item to show external drives in the Sidebar section of the preferences.
__________________
hayne.net/macosx.html
hayne is online now   Reply With Quote
Old 05-29-2007, 07:29 PM   #129
Cdino
Registered User
 
Join Date: May 2007
Posts: 1
There is another way! It is through enabling the root user.

http://docs.info.apple.com/article.h...en/mh1549.html

I tried following this posting but I couldn't make it work. Through accessing your computer as the root administrator you can rewrite the permissions. It is easy. I am a novice at computers and I did it with no help.
Cdino is offline   Reply With Quote
Old 08-13-2007, 11:12 PM   #130
mintyfresh
Prospect
 
Join Date: Aug 2007
Posts: 2
Thumbs up hayne, you're a genius.

i had the same problem everyone seems to be experiencing. i just googled it and came across this site. i just copied and pasted some of the script you've given others and obviously edited the relevant bits and it worked first time. thanks very much, almost had a heart attack when i thought i couldnt access my hd.
mintyfresh is offline   Reply With Quote
Old 08-16-2007, 04:01 PM   #131
nkatz
Registered User
 
Join Date: Aug 2007
Posts: 1
Phhheewww!

I too made the mistake of changing the permissions on my ext. hard drive via the get info window. I searched all over the web for tips on how to fix the problem. The best solution I found was Prosoft's Data Rescue II. However, I had a feeling I could fix the solution in Terminal before I doled out the hundred bucks for the software. Unfortunately I was scared *****less of doing that as the previous time I got under the hood of OSX, I bulloxed things up badly enough that I ended up having to reinstall my operating system. That, by the way, was also the first time I had tried using Terminal.

Then I found this thread with your straight-forward, well-written advice and the holy grail itself:
Quote:
sudo chmod -R u+X /Volumes/iLios

.
After saying a heart-felt novena I pasted the command into Terminal, substituting the name of my hard drive...

And after restarting there was the icon of my old 250 GB Hard Drive filled with original video footage back on my desktop.

Thank you. Thank you. Thank you. Hayne, you are truly a genius.
nkatz is offline   Reply With Quote
Old 09-08-2007, 12:17 AM   #132
dgomezmusic
Registered User
 
Join Date: Sep 2007
Posts: 1
Please Help!
I am really sorry to be bothering! My problem is that I own a Lacie D2 250 gig drive that I have always pampered. Recently, the USB cable was accidentally unplugged from my MacBookPro. After that, I can no longer see the Lacie drive icon on my desktop. If I use the disk utility, I can see that the drive is mounted and can unmount it if I want. It seems that the drive itself is healthy. No noises or flashing lights. Just that the icon is gone!

I have done a disk repair on the drive. It said one permission was restored, but still no icon. Looking on your forum help advice with similar issues to this, I did type the following commands on “Terminal” which I saw on the forum page:

id
ls -l /Volumes
ls -ld /Volumes/PEEWEE
ls -ld /Volumes/PEEWEE/wip
ls -ld "/Volumes/PEEWEE/wip/Ballet 4 graeme"
ls -l "/Volumes/PEEWEE/wip/Ballet 4 graeme/ballet.lso"
echo ---------------

After that I got the following info on “Terminal”:

My-Computer:~ DGPro$ id
uid=504(DGPro) gid=504(DGPro) groups=504(DGPro), 81(appserveradm), 79(appserverusr), 80(admin)
My-Computer:~ DGPro$ ls -l /Volumes
total 8
drwxr-xr-x 5 DGPro admin 170 Aug 29 2006 LaCie Disk
drwxr-xr-x 3 DGPro admin 102 Jul 7 2006 LaCie Disk 1
drwxr--r-- 28 all admin 1054 Sep 5 18:23 LaCie Disk 10
drwxr-xr-x 3 DGPro admin 102 Jul 8 2006 LaCie Disk 2
drwxr-xr-x 3 DGPro admin 102 Jul 13 2006 LaCie Disk 3
drwxr-xr-x 5 DGPro admin 170 May 17 14:23 LaCie Disk 4
drwxr-xr-x 3 DGPro admin 102 Jul 29 2006 LaCie Disk 5
drwxr-xr-x 3 DGPro admin 102 Sep 6 2006 LaCie Disk 6
drwxr-xr-x 3 DGPro admin 102 Jul 25 23:15 LaCie Disk 7
drwxr-xr-x 3 DGPro admin 102 Jul 29 05:38 LaCie Disk 8
drwxr-xr-x 3 DGPro admin 102 Aug 6 11:05 LaCie Disk 9
lrwxr-xr-x 1 root admin 1 Sep 7 23:42 Macintosh HD -> /
My-Computer:~ DGPro$ ls -ld /Volumes/PEEWEE
ls: /Volumes/PEEWEE: No such file or directory
My-Computer:~ DGPro$ ls -ld /Volumes/PEEWEE/wip
ls: /Volumes/PEEWEE/wip: No such file or directory
My-Computer:~ DGPro$ ls -ld "/Volumes/PEEWEE/wip/Ballet 4 graeme"
ls: /Volumes/PEEWEE/wip/Ballet 4 graeme: No such file or directory
My-Computer:~ DGPro$ ls -l "/Volumes/PEEWEE/wip/Ballet 4 graeme/ballet.lso"
ls: /Volumes/PEEWEE/wip/Ballet 4 graeme/ballet.lso: No such file or directory
My-Computer:~ DGPro$ echo ---------------

I don’t know what to do exactly from here in order to fix the problem. I am not very familiar with the myriad of codes in Terminal and what they actually do, but I am a good listener and can carry out any advice or direction that you can help in restoring my drive, which has priceless family photos. Thanks.
--
David
david@davidgomezmusic.com
dgomezmusic is offline   Reply With Quote
Old 10-01-2007, 03:27 PM   #133
splash
Prospect
 
Join Date: Oct 2007
Posts: 2
HELPP!!!!!!!! I am literally crying!!! I am having the same problem like everyone else. Tried, and typed everything that I saw on this post, and still doesn't seem working. I have 2 Maxtor one Touch hard drive, that I did to both of them, and I have a deadline in 2 weeks. I have all my data in it. While mounted them at work, I accidentally (now knowing it would result this) checked "ignore ownership". Please, please, please HELP! I appreciate every feedback, as I am miserable now
splash is offline   Reply With Quote
Old 10-01-2007, 04:00 PM   #134
splash
Prospect
 
Join Date: Oct 2007
Posts: 2
I did the #129 and it WORKED!!!!!!!!! thank you so much Cdino! You saved my life! I had so much work in those two drivers!
splash is offline   Reply With Quote
Old 11-20-2007, 04:12 PM   #135
ejbevan
Registered User
 
Join Date: Nov 2007
Posts: 1
Same problem!

Hey,

I have a similar problem to others here! I have a Buffalo 250GB external drive, and I have accidentally manage to uncheck Ignore Ownership Permissions on this external drive. It shows up in Disk Utility as an orange USB drive with standard file icon below, and I can't access it in Finder, I have an alias to it on my dock which, when clicked says:

"The application "(null)" cannot be launched.

-5000"

The disk has an awful lot of school work on, some I could really do with it back!

Hope someone can help,

Thanks,

John
ejbevan is offline   Reply With Quote
Old 11-20-2007, 06:39 PM   #136
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
ejbevan:

Please open a Terminal window (Terminal.app is an application in /Applications/Utilities) and then copy & paste the following commands (all together) into the Terminal window, then press Return, and then copy & paste the full contents of that Terminal window back here so we can see it:

id
ls -l /Volumes
df -h
echo "done"
__________________
hayne.net/macosx.html
hayne is online now   Reply With Quote
Old 12-12-2007, 12:58 AM   #137
thepat20
Registered User
 
Join Date: Dec 2007
Posts: 2
Help!!!

Hi-

I recently bought an external HD, and it does not mount properly in leopard. When i turn it on, i can hear the platter spinning and it sounds like it was working.

The Terminal Commands Return This:

Macintosh-3:~ billyjean$ sudo chmod -R +rw/Volumes/NewVolume
Password:
usage: chmod [-fhv] [-R [-H | -L | -P]] [-a | +a | =a [i][# [ n]]] mode|entry file ...
chmod [-fhv] [-R [-H | -L | -P]] [-E | -C | -i | -I] file ...
Macintosh-3:~ billyjean$ sudo chown root/Volumes/NewVolume
usage: chown [-fhv] [-R [-H | -L | -P]] owner[:group] file ...
chown [-fhv] [-R [-H | -L | -P]] :group file ...
Macintosh-3:~ billyjean$ sudo chgrp wheel/Volumes/NewVolume
usage: chgrp [-fhv] [-R [-H | -L | -P]] group file ...
Macintosh-3:~ billyjean$


It is a 360 gig External Maxtor Personal Storage.
It does not show up in Disk utility, but sytem profiler recognizes it under

USB ->USB High Speed bus ->
Maxtor 3200:

Version: 0.01
Bus Power (mA): 500
Speed: Up to 480 Mb/sec
Manufacturer: Maxtor Corporation
Product ID: 0x3200
Serial Number: 2CAH0X20
Vendor ID: 0x0d49


And....

Last login: Tue Dec 11 21:56:46 on ttys000
Macintosh-3:~ billyjean$ id
uid=501(billyjean) gid=501(billyjean) groups=501(billyjean),98(_lpadmin),81(_appserveradm),79(_appserverusr),80(admin)
Macintosh-3:~ billyjean$ ls -l /Volumes
total 8
lrwxr-xr-x 1 root admin 1 Dec 8 20:30 Patrick -> /
Macintosh-3:~ billyjean$ df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/disk0s2 111Gi 56Gi 55Gi 51% /
devfs 106Ki 106Ki 0Bi 100% /dev
fdesc 1.0Ki 1.0Ki 0Bi 100% /dev
map -hosts 0Bi 0Bi 0Bi 100% /net
map auto_home 0Bi 0Bi 0Bi 100% /home
Macintosh-3:~ billyjean$ echo "done"
thepat20 is offline   Reply With Quote
Old 12-12-2007, 11:14 AM   #138
whynot
Prospect
 
Join Date: Dec 2007
Posts: 3
Hi Hayne,

I am thoroughly impressed with your knowledge of this. Like so many I found this thread through google and am amazed. I hope somebody is paying you well with all that info you have stored in brain!

I have attempted to use the info in other threads but am getting stuck when it comes to me putting in my password.

I tried reading the unix thread you recommended but do not see the revelance to the password issue that I am having.

here is my code...

Last login: Wed Dec 12 10:12:04 on console
Welcome to Darwin!
John-Whynots-Computer:~ johnwhynot$ id
uid=501(johnwhynot) gid=501(johnwhynot) groups=501(johnwhynot), 81(appserveradm), 79(appserverusr), 80(admin)
John-Whynots-Computer:~ johnwhynot$ ls -l /Volumes
total 12
dr-xr-xr-x 9 johnwhyn johnwhyn 548 Sep 27 21:49 FM2008
lrwxr-xr-x 1 root admin 1 Dec 12 10:11 Macintosh HD -> /
drwx------ 8 johnwhyn johnwhyn 374 May 18 2007 Skype
drwxr-xr-x 7 johnwhyn johnwhyn 340 May 23 2007 Yahoo! Messenger
John-Whynots-Computer:~ johnwhynot$ echo "done"id
doneid
John-Whynots-Computer:~ johnwhynot$ ls -l /Volumes
echo "done"
total 12
dr-xr-xr-x 9 johnwhyn johnwhyn 548 Sep 27 21:49 FM2008
lrwxr-xr-x 1 root admin 1 Dec 12 10:11 Macintosh HD -> /
drwx------ 8 johnwhyn johnwhyn 374 May 18 2007 Skype
drwxr-xr-x 7 johnwhyn johnwhyn 340 May 23 2007 Yahoo! Messenger
d---r-xr-x 71 johnwhyn johnwhyn 2516 Nov 4 23:38 ex hd
John-Whynots-Computer:~ johnwhynot$ echo "done"
done
John-Whynots-Computer:~ johnwhynot$ sudo chmod -R u+X /Volumes/ex hd

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
John-Whynots-Computer:~ johnwhynot$ sudo chmod -R u+X "/Volumes/ex hd"

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
Sorry, try again.
Password:
John-Whynots-Computer:~ johnwhynot$ sudo chmod -R u+X "/Volumes/ex hd"
John-Whynots-Computer:~ johnwhynot$ sudo chmod -R u+X "/Volumes/ex hd"
John-Whynots-Computer:~ johnwhynot$
whynot is offline   Reply With Quote
Old 12-12-2007, 08:28 PM   #139
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
Quote:
Originally Posted by whynot
Code:
John-Whynots-Computer:~ johnwhynot$ ls -l /Volumes
echo "done"
total 12
dr-xr-xr-x    9 johnwhyn  johnwhyn   548 Sep 27 21:49 FM2008
lrwxr-xr-x    1 root      admin        1 Dec 12 10:11 Macintosh HD -> /
drwx------    8 johnwhyn  johnwhyn   374 May 18  2007 Skype
drwxr-xr-x    7 johnwhyn  johnwhyn   340 May 23  2007 Yahoo! Messenger
d---r-xr-x   71 johnwhyn  johnwhyn  2516 Nov  4 23:38 ex hd
John-Whynots-Computer:~ johnwhynot$ echo "done"
done
John-Whynots-Computer:~ johnwhynot$ sudo chmod -R u+X /Volumes/ex hd

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
John-Whynots-Computer:~ johnwhynot$ sudo chmod -R u+X "/Volumes/ex hd"

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
Sorry, try again.
Password:
John-Whynots-Computer:~ johnwhynot$ sudo chmod -R u+X "/Volumes/ex hd"
John-Whynots-Computer:~ johnwhynot$ sudo chmod -R u+X "/Volumes/ex hd"
John-Whynots-Computer:~ johnwhynot$

The fact that you didn't get prompted for your password when you entered the last two commands would seem to mean that you had entered it correctly above (the second try).
And (as explained in the Unix FAQ referred to above) the fact that you got no output from the 'chmod' command would seem to mean that it worked.

Have you tried to see if all is well now?
__________________
hayne.net/macosx.html
hayne is online now   Reply With Quote
Old 12-13-2007, 06:21 AM   #140
whynot
Prospect
 
Join Date: Dec 2007
Posts: 3
Yes, after the computer booted up this morning it indeed did appear on the desktop.

Could you please direct me to where I can show my gratitude for the information on this page with a donation?

Thank you.
whynot is offline   Reply With Quote
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

Forum Jump



All times are GMT -5. The time now is 06:53 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.