Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

twoodcc

macrumors P6
Original poster
Feb 3, 2005
15,307
26
Right side of wrong
ok, so i upgraded to 10.5.3 client on my mac pro. i have 4 total hard drives. 1 hard drive has 10.5.2 server on it.

after upgrading to 10.5.3, all my permissions messed up. i had to boot from the leopard disk to repair permissions on the 10.5.3 drive, so i could boot up.

now, the other 3 hard drives have a small lock on the icons, in the bottom left corner of the icons. i can't open any of them, and i can't change the permissions of them either.

i have verified the disks from the leopard disk, and all are ok.

can someone that knows terminal commands please help me here?
 
Open the Terminal and type

ls -l /Volumes

which should list the volumes, the owner, group and associated permissions. If the other volumes only have your data, it should be quite easy to get it back into a working state. Don't try the below on a system volume though.

You need to first set your user account as the owner using

sudo chown -R <your account> /Volumes/<volume name>

Type in your admin password when prompted. Then set the group to either staff or admin using the similar chgrp command

sudo chgrp -R staff /Volumes/<volume name>

Then finally set the permissions you want. As you are the owner you are the only one that needs read/write access, so the following should work whilst granting read-only access to everyone else.

sudo chmod -R 755 /Volumes/<volume name>

If the volume name contains a space you only need to type enough letters to get a unique match with the actual name then hit the tab key and OSX will fill in the rest. Repeat for each volume.

Once that's done you should be able to use the GUI to further tighten up the permissions.
 
Open the Terminal and type

ls -l /Volumes

which should list the volumes, the owner, group and associated permissions. If the other volumes only have your data, it should be quite easy to get it back into a working state. Don't try the below on a system volume though.

You need to first set your user account as the owner using

sudo chown -R <your account> /Volumes/<volume name>

Type in your admin password when prompted. Then set the group to either staff or admin using the similar chgrp command

sudo chgrp -R staff /Volumes/<volume name>

Then finally set the permissions you want. As you are the owner you are the only one that needs read/write access, so the following should work whilst granting read-only access to everyone else.

sudo chmod -R 755 /Volumes/<volume name>

If the volume name contains a space you only need to type enough letters to get a unique match with the actual name then hit the tab key and OSX will fill in the rest. Repeat for each volume.

Once that's done you should be able to use the GUI to further tighten up the permissions.

ok, when i tried "sudo chown -R tmac Yoshi" it didn't work

i'm already in the Volumes directory, where "Yoshi" is the name of the volume, and "tmac" is my account name

i get this error:

chown: Yoshi/.Archived_Directories\r: Operation not permitted
chown: Yoshi: Operation not permitted
 
Hmm. Looks good on the permissions front. The other thing that comes to mind is that your NetInfo database has corruption so that your user account's ID isn't matched across the system. However, I'm not even sure that Leopard has a NetInfo database anymore :eek:

Not sure if I've got the answer. Sorry.
 
Hmm. Looks good on the permissions front. The other thing that comes to mind is that your NetInfo database has corruption so that your user account's ID isn't matched across the system. However, I'm not even sure that Leopard has a NetInfo database anymore :eek:

Not sure if I've got the answer. Sorry.

hey, i think you might be on to something there. but it's not NetInfo anymore, something else. i forgot exactly.

Well, thanks for your help. i'm backing up the 10.5.3 drive now (my data), and i guess i'll just reinstall on that drive. but will the permissions stay the same on the other drives forever? i gotta have that data
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.