Reset user permission on a Lion Server for Network Users
Hi, I have just installed a Lion Server at home based on a Mac Mini. It was a bit tedious but I got it all working.
I moved all my users data to an external disk on the Mac Mini. I have two iMacs and two MacBooks who now are successfully bound to the Open Directory and I can log in at all of them with my four network accounts and get the home directories mounted from the server.
The problem I have is that I sometimes get some strange acting applications, eg iPhoto is telling me it can't open the library file as it's locked by another user. I think these are based on some user permission errors that occured when I moved my users to the server using "cp" command.
I have found several websites that explain how to repair permissions. You can use disk utility but that only works if users directory is on the boot disk which is not the case. You can use Lion's passwordreset utility but that only seems to work for local users and not for "Network Users"!
So the only manual way to do it is of course the "chown - R <USER>:staff" and then doing a "chmod -R 755 <USER>". That seems to be taken care of most of the issues but not quiet all of them and I am not sure if those are the right permission for every directory?
Does anybody know a better way to repair permission on a Lion Server using Network Accounts with user directories on an external disk?
Many thanks!