Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Custom Profile Issue

Hello Everyone,


I'm building a reference "image" for our environment. I'm trying to add a custom user profile to make the upgrade simpler, safer and more usable in for our users. I've done this before with few problems. However, I'm having an issue with finder preferences. It seems the finder "sidebar" is storing the absolute path to the folders listed there:


/Users/username/Documents


Instead of saving the relative path to those locations


/Users/$USER/Documents or ~/Documents


Same goes for the "Downloads" link on the Dock. You login with a new account and the profile is copied, unfortunately your finder is pointing to "Documents" in a different part of the tree that you can't write to. Not good.


Obviously Apple's generic prefs work around this somehow. If I can't customize these settings I would like to get rid of them so they default values take over. I've tried removing the following plist files from the profile folder (/System/Library/User\ Template/English.lproj/Library/Preferences) without success:


com.apple.spaces.plist

com.apple.xpc.activity2.plist

com.apple.ServicesMenu.plist

com.apple.Loginwindow.plist

com.apple.finder.plist

/ByHost


Any ideas where Apple may be hiding these settings? Is there a better way to do this in El Capitan?


Thanks,


--Dave

iMac (Retina 5K, 27-inch, Late 2014), OS X El Capitan (10.11.1)

Posted on Oct 29, 2015 1:38 PM

Reply
Question marked as Best reply

Posted on Nov 6, 2015 10:11 AM

After spending the entire morning doing trial and error I found the evil folder that was screwing up the profile:


/System/Library/User\ Template/English.lproj/Library/Application\ Support/com.apple.sharedfilelist/


Remove that folder and it works.

Cheers!


13 replies

Dec 9, 2015 10:49 AM in response to UDMath

Awesome, thanks! I too was struggling with this problem.


After I copy the /Users/user account to /System\Library/User Template/English.lproj and then login with a test account, the dock shortcuts to Documents and Downloads have the "Do not enter" symbol. Interestingly, I can click on the dock shortcuts and they point to the correct folder.


I checked ~\Library\Preferences\com.apple.dock.plist and the pathway for these two dock shortcuts point to file:\\\Users\user\Downloads and file:\\\Users\user\Documents. The account 'user' was the account I used to create the default user profile.


Have you seen this issue?


Thanks,


Mark

Feb 4, 2016 11:33 AM in response to sdb50

Thank you UDmath you made my day. Now about the "Do not enter symbol" on the Downloads and Documents shortcuts on the Dock. I found that if I navigate through the GUI to /Users/user and then right click on Downloads or Documents and "Get Info" I can click on "Locked" to lock and then click again to uncheck "Locked", the "Do not enter symbol"symbol goes away. Though this is something of a solution, I don't want to have to do that procedure every time I create a user profile. I am providing this information mostly to provide a clue to the rest of the members of this forum. I would like a better solution by making changes to "English.lproj".

Feb 5, 2016 10:46 AM in response to sdb50

I have yet to find a true solution to this, but I realized if you remove the Downloads folder from the Dock in the default profile before copying it to the system folders it will not show up on the dock, but then it can be dragged from the Finder (provided you used @UDmath's solution) without issues by the User.

I wonder if this issue is due to Apple's changing of the Repair Permissions tool. It doesn't seem to work for this instance.

Feb 5, 2016 12:32 PM in response to MoodyITS

Yeah there are a couple of ways to address the dock folders issue after the fact (I also got it working by toggling the downloads folder between a folder and a stack - and the no permission icon went away), but I really hope there is some way to address this so that these fixes don't have to be done. I guess we are all still looking! 🙂 if I find a permanent fix I'll be sure to come back here and post. Thanks all for the feedback.

Feb 9, 2016 1:56 AM in response to sdb50

We create these profiles all the time to replace the English.lproj folder however once we have copied it into the /User Template/ folder we always run a repairPermissions and then the profile loads correctly for any user.


With El Capitan we cant do this anymore and therefore our profiles are not working


Any clues to get this working correcty?

Feb 10, 2016 3:51 PM in response to UDMath

OK, I have found a solution to the Documents/Downloads folder on the Dock with the red "No enter" symbol problem. First, I knew the problem laid with English.lproj/Library/Preferences/com.apple.dock.plist.


After googling, I found this post: https://community.spiceworks.com/topic/1388740-os-x-el-capitan-downloads-folder- blues


When you visit this website and if you get presented with an ad, just refresh the page. Use a Plist editor on com.apple.dock.plist. There are several Plist editors that are free download. OSXdaily recommended "Pref Setter". I removed "_CFURLString" for Downloads and Documents sections. I created a new user and those BLASTED "No Enter" symbols went away. And the Dock shortcuts work. They worked anyway, but just had those "No Enter" symbols on them. By-the-way, the "No Enter" symbol is the icon called: PrivateFolderBadgeIcon.icns found in /System/Library/CoreServices/CoreTypes.bundle/Content/Resources.


I know what some may be thinking. I manage our PC and our Mac Labs at where I work. And sometimes I have had to use "hacks" on Windows to get things to work because Microsoft biffs it from time to time. I won't treat OSX any differently.

Feb 10, 2016 4:18 PM in response to UDMath

This post is somewhat related to Apple taking away "Repair Permissions" and some of the issues we encounter as a result of the facility being gone. Here is an article about how to perform some repairs to OSX:


http://osxdaily.com/2015/11/04/verify-repair-permissions-mac-os-x/


Try performing a "verify" on your system and you'll see a lot of entries pertaining to English.lproj.

Feb 11, 2016 7:21 AM in response to JDub2016

Fantastic! I just tried this and can confirm that it works! I had been messing around with that file in a plist editor and tried to manually change the path to the folder but it didn't take - deleting the entries completely does the trick as you said.


The only thing I'd add is that, in order to edit the plist file, you will need to change permissions temporarily on some folders and the plist file itself. You will also need to temporarily unhide the hidden files on the mac (open terminal and enter defaults write com.apple.finder AppleShowAllFiles YES) in order to see some of the folders you need access to.

Feb 11, 2016 10:15 AM in response to UDMath

I am glad it is working. I decided to copy/paste the instructions from the above website I had posted.


Although it is a bit of a hack, the fix is to;

  • Edit the default user template com.apple.dock.plist file (located at /System/Library/User Template/English.lproj/Library/Preferences) with a PList editor or text editor that can properly ready xml (I use TextWrangler).
  • Delete the key "_CFURLString" line from the Downloads section.
  • Delete the string line (containing the path to the default Downloads folder) which is directly below the _CFURLString key line.
  • Save and create a new user.


I am adding that you can apply the procedure for each Folder (like Documents) you have put on the Dock.

Custom Profile Issue

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.