Skip to main content
The Login sessions control makes every user’s home folder private on your Macs: other users of the Mac can no longer open it or read its files. It can also give the folders inside each home folder Apple’s default permissions.

Platform compatibility

Requires macOS 15 or later.

Set up the control

1

Add a configuration

Go to MDM > Controls, open Login sessions, then click Add configuration.
2

Configure the settings

Private home folders is always on. Turn on Apple’s default permissions on the folders inside home folders if you also want the folders inside each home folder reset. See the settings below.
3

Select targeting

Choose which devices to apply the configuration to: all macOS devices, specific device groups, or a custom target. Click Activate to deploy the configuration. Save keeps it inactive.

Settings

  • Private home folders takes the read and open rights of other users off every user’s home folder. A folder closed this way also shuts its Public folder, and its Drop Box, to other users. The Shared and Guest folders are left as they are, and so is a home folder that is already private.
  • Apple’s default permissions on the folders inside home folders sets the folders macOS creates in each home folder back to Apple’s defaults: Desktop, Documents, Downloads, Library, Movies, Music and Pictures open to their owner only, Public not writable by other users, and no other user can delete the home folder or these folders. Off leaves the folders inside a home folder as they are.

How it works

Primo runs a script on the Mac that changes the permissions of each home folder, and of the folders inside it when the option is on. A check runs on the Mac regularly: when a folder is open again, or a new user’s folders were created since, the script runs again. The script records each folder it changed. When you remove the control, Primo puts each of those folders back as it was.
Turning Apple’s default permissions on the folders inside home folders off in an edit leaves the folders inside home folders as the option set them. Removing the control puts them back.

Modify or remove the control

Open the control from MDM > Controls to edit, deactivate or replace the configuration.