Batch repair/set permissions?

Matsaki

Registered
I messed up my OS X 10.3.3 system badly :(

Now all the permissions is wrong and repair permissions in Disk Util or Xupport etc. dont help. How can I find another way to repair permissions? And if I create a new system and ad a new user with exactly the same name/passw etc. and put all old prefs etc. the permissions stay to the first (original) user. I can change the one by one but there must be a better way???
 
You can use 'chmod' and 'chown' in Terminal. For example you can "sudo chown -Rf yourname:desiredgroup /Users/yourname/*" without the quotes to set your user (and the desired group) as the owner of all files in your home folder (You use 'sudo' to do this with administrator privileges.). You can use file permission numbers with 'chmod' like this: "chmod -Rf 644 filename". This one only sets the permissions of 'filename' to read&write for the owner (you), to read-only for the group and everybody else etc.

Might want to take a look into some UN*X handbooks, though. :)
 
Oki thank's but don't many things have different permissions in i.e. the Library folder, between group/staff/admin--read/read&write/No Access etc. etc. ?

How will I work with that?
 
Repair Permission in Disk Utility should do the job for you, just don't boot off the CD. Use it from the Hard Drive.
 
No I tried that and it seems like that the permissions cant be repaired as the user/account name is wrong (or something like that) Most of the folders are not accessable at all if I don't change the permissions manually :(
 
Yes bobw I have a root account. The problem is that I can't boot from the broken system, and when booting from external disk I cant repair permissions on the broken internal disk/system :( And thats what I have/want to do!
 
If the permissions in the system area have been messed up, Permission Repair should do the job, if you can get it to run, otherwise the easiest recovery is going to be an Archive Install and you may lose some of the settings in your system. At least you will be able to operate normally.

If the permissions are messed up in your user folder then you can use the previously mention Terminal commands or something like BatChmod and set your account as owner with read write permission, Group as None, and Other as None and that should work. (Permission Repair does not check or change permissions in the user folder and it does not check or change permissions for any application that did not install a package in /Library/Receipts.)
 
I think I found where the problem is.. When using Carbon Copy Cloner I get an error on the "CoreServices" How can I work with this? Can I use CoreServies from another system or something?
 
Back
Top