macgeekinme
Registered
I'm having a problem with Leopard's Disk Utility modifying the permissions to a modified English.lproj template that I create. The template works fine after it is created and saved as English.lproj at /System/Library/User Template I can log in as a new user and I get my template with all the modifications to the dock, browsers, etc. However, when I run Disk Utility it changes the permissions so I get Apple's standard template again. Lastly, after DU breaks my new template, I can go into the terminal and do a sudo chmod and chgrp to the /Users/newuser ~ and everything works again.
I've tried using cp and ditto to preserve the ACL's on the template. Once I copy or ditto my template to English.lproj I can see via the terminal that the ACL's are still there. Then run DU, and it breaks. Running 10.5.6.
Here's what I've tried...
:~root# sudo ditto -rsrcFork English.lproj/* English.lproj.bak
:~root# sudo rm -rf /System/Library/User\ Template/English.lproj/*
:~root# sudo cp -R /Users/test/* /System/Library/User\ Template/English.lproj/
:~root# sudo chown -R root English.lproj
:~root# sudo chgrp -R wheel English.lproj
I've also tried sudo ditto /Users/test /System/Library/User\ Template/English.lproj
How do I copy the test user's template to the English.lproj template and make DU stop breaking it?!
Thank you!
I've tried using cp and ditto to preserve the ACL's on the template. Once I copy or ditto my template to English.lproj I can see via the terminal that the ACL's are still there. Then run DU, and it breaks. Running 10.5.6.
Here's what I've tried...
:~root# sudo ditto -rsrcFork English.lproj/* English.lproj.bak
:~root# sudo rm -rf /System/Library/User\ Template/English.lproj/*
:~root# sudo cp -R /Users/test/* /System/Library/User\ Template/English.lproj/
:~root# sudo chown -R root English.lproj
:~root# sudo chgrp -R wheel English.lproj
I've also tried sudo ditto /Users/test /System/Library/User\ Template/English.lproj
How do I copy the test user's template to the English.lproj template and make DU stop breaking it?!
Thank you!