-6 C
New York
Sunday, December 22, 2024

Places outdoors /Customers the place macOS writes person recordsdata?


After a clear set up of Sequoia (15.2) I’m including my person accounts. Resulting from different methods on my residence community (and wanting to make use of NFS) I wish to use particular UID’s for the brand new accounts. It is a supported choice on OSX – simply create the account, then select superior and it’s attainable to set the UID’s that I wish to use.

The issue is that the motion of making the account creates the house listing (/Customers/xyz) utilizing the preliminary UID (501, 502, 503, …). I notice that I may simply chown the recordsdata nevertheless because of SIP, I do not belief that that may work appropriately. As a substitute my process is that:

  • After creating the accounts.
  • I reboot into restoration mode (to forestall SIP getting in the way in which).
  • Open a terminal
  • Execute rm -rf /Customers/user1 /Customers/user2 ....
  • Reboot
  • Log in as every person to recreate the house directories with the proper file ownerships.

I notice that that may be a convoluted course of, nevertheless it appears to work / works for me.

My query is: Are there every other areas the place OSX writes person particular recordsdata outsize of /Customers throughout person account creation?

I ask as a result of, I do know different unix methods generally write recordsdata for issues like crontabs, mail queues, lock recordsdata, and so on and I wish to verify to verify I’ve the proper possession on all such recordsdata.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles