Yes. It's the command line verison of what GUIfied apps dowhen they show/hide everything in the Finder.
smwatson said:I input that, it appears in Desktop but not in Sidebar. Now how do i turn that off because now i have all these random files everywhere
defaults write com.apple.finder AppleShowAllFiles [B]FALSE[/B]
killall Finder
cd ~/Library/Preferences
defaults read com.apple.finder | grep ShowHardDrivesOnDesktop
smwatson said:Inputted that code; nothing.![]()
defaults write com.apple.finder.plist ShowHardDrivesOnDesktop 1
yellow said:That's odd..
Next Step:
Code:defaults write com.apple.finder.plist ShowHardDrivesOnDesktop 1
Then logout and log back in. Does your HD show up on the Desktop?
Eraserhead said:Ok to make it appear in the sidebar, click and drag it over the sidebar from your desktop (while hidden files are enabled), I think you accidently changed the permissions of your HD, to change it back, type in Terminal
'cd /Volumes/' (without single quotations) then Enter then
'chmod 755 "Macintosh HD"' (without single but with double quotations) where Macintosh HD is replaced by the name of your hard drive.
smwatson said:Hard Drive doesnt appear from that code either.
Cant make it appear in Sidebar like that, it wont let me drag & drop.
Also, that second code results in:
"Cannot recognise "chmod", User does not have sufficent permission"
(words to that affect)
Eraserhead said:Damn, to do it my way you'll need to enable the root account on your Mac, have you tried repairing permissions yet?
see
http://www.spy-hill.com/~myers/help/apple/EnableRoot.html for how to enable the root account, set a good password for this and disable root again when you have finished.
cd ~/Library/Preferences
defaults read com.apple.finder | grep ShowHardDrivesOnDesktop
yellow said:I'll get back to you.
attributes: a[B][COLOR="Red"]V[/COLOR][/B]bstClinmedz
yellow said:nooooo... There's no need for enabling root.
you need to use sudo. That's it's purpose.
Eraserhead said:forgive my ignorance but what is sudo? what does it mean? (I suppose this means I shouldn't be trying to answer the question)
yellow said:Open Terminal.app, type:
cd /Developers/Tools
./GetFileInfo /
The output should have something like this in it:
Code:attributes: a[B][COLOR="Red"]V[/COLOR][/B]bstClinmedz
Does yours have a capital V or lowercase v?
If it's a capital V, then continue, type:
./SetFile -a v /
Now logout and log back in. Is your HD back on your Desktop?
It should be!
<crossed fingers> (damn I hope this works)
smwatson said:Are you sure that is the right code to get attributes because it doesnt recognise it
cd /Developer/Tools/
./GetFileInfo /
yellow% ./GetFileInfo /
directory: "/"
attributes: avbstClinmedz
created: 10/06/2003 18:36:50
modified: 06/20/2006 14:59:48
Usage: /Developer/Tools/GetFileInfo [-a[<attrib_letter>] | -t | -c | -m ] <path>
smwatson said:It worked perfectly![]()
![]()
Thanks so much![]()
smwatson said:It worked perfectly![]()
![]()
Thanks so much![]()