Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >

KB-2884: Mobility HomeSync fails on Documents and Downloads folders when connected in Zone Mode

Mac & PC Management Service ,  

12 April,16 at 11:07 AM

Applies to: All versions of Centrify DirectControl on Mac OS X
The Mobility GPs have been set up and network home folder permissions have all been verified to be correct. 
The AD user is able to login and the mobile account is correctly created.
However, when initiating a Home Sync it fails on certain folders with the error below:

Most of the folders are correctly synced to the network home, the sync failures seems to affect most frequently with the Documents and Downloads folders.
This can be replicated consistently when the Mac is joined in Zone mode.
Home Sync works fine when Mac is joined in Auto Zone mode or with the Apple AD Plugin.
The problem happens only to users with "auto private group" configured as their Primary Group in their UNIX Zone Profile. 
Users with normal zone groups configured are not affected.
Most folders in the user's home folder are copied directly from the local skeleton folder to the user's network home before creating the mobile account, which means they are not created by the initial sync process.
However, the Documents and Downloads folder are not included in the skeleton folder. 
They are created after the user logs in, and should be synced to server.
These two folders have the ACL settings:
drwx------+  3 testuser  staff          102 Mar  1 22:30 Downloads
0: group:everyone deny delete
It was found that if all the following conditions are met, then the folder sync will produce an error:
  1. User has auto private group.
  2. The folder has ACL configured.
  3. The folder is not empty.
This appears to be a bug in the OS X FileSyncAgent and the way it resolves group IDs.
Method 1:
The Documents and Downloads folder can be entered into the skeleton folder on the Mac before creating the mobile account. 
To configure this, login as Local Admin and run at the Terminal:
  mkdir -p "/System/Library/User Template/English.lproj/Documents" 
  mkdir -p "/System/Library/User Template/English.lproj/Downloads" 
These commands will pre-create the folders in the default skeleton template so that they will be part of the structure when the mobile account is created.
** They can also be configured to be run automatically via Group Policy by entering them into:
  Computer Configuration / Centrify Settings / Common UNIX Settings / "Specify commands to run"
Method 2:
Manually create the folders on the network home share that are prompting the errors.
Home Sync will succeed when these folders are already present.
None as the FileSyncAgent is maintained by Apple.

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.

Related Articles

No related Articles