EiffelITDept

Q: Reset Network User Home Folder ACLs and Permissions?

Hey guys.

 

So... I've got some user home folders on my new Mac OS X Lion 10.8 Server, all set up as Network Users, with the Networked Home Folders.

 

All users work, apart from one, where I stupidly pressed 'Apply to Enclosed items...' on the file permissions. It works OK I guess, I just keep getting the 'Reset Keychain' warning, all the time, and it recurs as if it's not able to reset it. Probably due to lack of access to the Library files.

 

I've tried booting into recovery and running the 'resetpassword' utility from Terminal but only local user accounts show up. IE. Root and the 1 local user the server has.

 

Is there any way of repairing default permissions for Nework Users' Home Folders?

 

I am guessing the keychain problem is this, as when I mess around with the permissions it corrects it, but the permissions are now all over the place.

 

Thanks for any help folks.

Mac mini, OS X Server, Mountain Lion Server 10.8

Posted on Jan 17, 2013 5:22 AM

Close

Q: Reset Network User Home Folder ACLs and Permissions?

  • All replies
  • Helpful answers

  • by Jonathan Melville,Helpful

    Jonathan Melville Jonathan Melville Jan 17, 2013 6:07 AM in response to EiffelITDept
    Level 2 (450 points)
    Jan 17, 2013 6:07 AM in response to EiffelITDept

    Try this:

     

    sudo chown -R -v joesmith:staff /Volumes/NetHomes/joesmith

  • by EiffelITDept,Solvedanswer

    EiffelITDept EiffelITDept Jan 18, 2013 3:23 AM in response to Jonathan Melville
    Level 1 (0 points)
    Jan 18, 2013 3:23 AM in response to Jonathan Melville

    That was part of it. I tried that, but with the Passenger thing but it wouldn't run. So I output the passenger script that I was able to modify and run properly.

     

    Ended up doing:

     

    chown -R 'joebloggs':staff '/Homes/joebloggs'

    chmod -R 700 '/Homes/joebloggs'

    chown 'joebloggs':staff '/Homes/joebloggs'

    chmod 755 '/Homes/joebloggs'

     

    Thanks for the reply

  • by Snyderthing,

    Snyderthing Snyderthing Dec 4, 2014 2:37 PM in response to EiffelITDept
    Level 1 (4 points)
    Dec 4, 2014 2:37 PM in response to EiffelITDept

    I'm just learning these commands, so forgive the ignorance. Looking at those four commands, is the third command redundant? Is that command not already done by the first command? If I run just the first, second and fourth commands, will that give the same result or is there something that I'm missing with the   -R     or with the second command?