May have reset user permissions via Terminal - how to restore?

Joined
Jun 25, 2008
Messages
2
Reaction score
0
Points
1
Hi everyone,

I'm sure a number of people here on the forums have come across the problem with the blue tint that appears every now and then. It usually appears when connecting an external monitor after the you come back from the screen saver.

Yesterday it happened for the first time without an external monitor connected. I have found a number of sites that have suggested using the command 'sudo chmod 664 *' within the Terminal. I have used it a couple of times to fix this problem but it did not work hence the reason it happened yesterday without a monitor connected. When I did use this command previously I first entered

cd /library/colorsync/profiles/display

When i did it for this occassion i forgot to enter the display folder first.

After this I did a restart and all my user settings were reset and I was locked out of all my user folders. I lost all my desktop settings and everything was back to when I first started my computer.

I did some hunting and found the command 'sudo chmod 777'. I tried this then did a reset and my desktop background returned and the folders were unlocked.

What I want to know is if this is the correct command to bring everything back to normal?

My user permissions in terminal are listed below

Using the command sudo chmod 664 *

drw-rw-r--+ 15 JoeBros staff 510 11 Jun 23:33 Desktop
drw-rw-r--+ 19 JoeBros staff 646 22 May 20:44 Documents
drw-rw-r--+ 46 JoeBros staff 1564 25 Jun 15:08 Downloads
drw-rw-r--+ 45 JoeBros staff 1530 10 Jun 23:56 Library
drw-rw-r--+ 4 JoeBros staff 136 1 Apr 19:19 Movies
drw-rw-r--+ 38 JoeBros staff 1292 4 Apr 18:08 Music
-rw-rw-r-- 1 JoeBros staff 92352512 29 May 18:20 Parallels-Desktop-5600-Mac-en.dmg
drw-rw-r--+ 57 JoeBros staff 1938 25 Jun 16:02 Pictures
drw-rw-r--+ 6 JoeBros staff 204 14 Jun 15:56 Public
drw-rw-r--+ 5 JoeBros staff 170 26 Mar 00:59 Sites

This is what is displayed after sudo chmod 777

total 180376
drwxrwxrwx+ 15 JoeBros staff 510 11 Jun 23:33 Desktop
drwxrwxrwx+ 19 JoeBros staff 646 22 May 20:44 Documents
drwxrwxrwx+ 46 JoeBros staff 1564 25 Jun 15:08 Downloads
drwxrwxrwx+ 45 JoeBros staff 1530 10 Jun 23:56 Library
drwxrwxrwx+ 4 JoeBros staff 136 1 Apr 19:19 Movies
drwxrwxrwx+ 38 JoeBros staff 1292 4 Apr 18:08 Music
-rwxrwxrwx 1 JoeBros staff 92352512 29 May 18:20 Parallels-Desktop-5600-Mac-en.dmg
drwxrwxrwx+ 57 JoeBros staff 1938 25 Jun 16:02 Pictures
drwxrwxrwx+ 6 JoeBros staff 204 14 Jun 15:56 Public
drwxrwxrwx+ 5 JoeBros staff 170 26 Mar 00:59 Sites

Does this look correct ??
I have a Macbook Pro 2.5 250GB HD 4GB Ram - OSX 10.5.2


Any help would be great thanks
 
Joined
Jan 27, 2008
Messages
1,515
Reaction score
55
Points
48
Location
Estero, FL
Your Mac's Specs
iMac 17" 1Ghz G4  iPhone 3G  10.5.5
Have you tried using Disk Utility / Repair permissions yet? (applications/utilities) It should restore permissions for most of those.

I'm sure you know, but for others, be careful with sudo (root). As you can see, it's unforgiving.
 
OP
D
Joined
Jun 25, 2008
Messages
2
Reaction score
0
Points
1
THanks

Hi Soulwar,

I have used Disk Utility and I have also learnt my lesson :)

With the help of a mac expert i have manually changed the permissions.

Next time I'll look before I leap ..

Thanks
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top