Skip to main content
Question

Deploying to specific folder

  • July 16, 2015
  • 6 replies
  • 35 views

Forum|alt.badge.img+4

I have a fileset (folder) that I would like to deploy to each user's specific home folder. The problem is, we do not use a generic 'Admin' account, so each user's home folder is specific to their actual name / initials.

When creating the policy, I am trying to specify the install path, but using /Users/~ and trying to add wildcards (*) is actually creating folders with those names in the /Users folder. Does the JSS not follow normal reference protocols?

I have seen a few people post scripts on here that will essentially move an item once the installation completes, but I'm having difficulty ascertaining what elements of the script need to be modified to accomplish my specific goal.

Does anyone have any special instructions, or has anyone run into something similar to this?

6 replies

mpermann
Forum|alt.badge.img+22
  • Valued Contributor
  • July 16, 2015

If you use Composer to capture the files and create a DMG of them you can then use the FEU/FUT option on the file in Casper Admin when you upload the file to get Casper to put them in the end users folder.


Chris_Hafner
Forum|alt.badge.img+27
  • Jamf Heroes
  • July 20, 2015

I second that!


Forum|alt.badge.img+4
  • Author
  • New Contributor
  • July 20, 2015

Hey, cool, that worked great. Do you have any ideas if I now also want an alias for that folder to appear in the Finder sidebar?


Chris_Hafner
Forum|alt.badge.img+27
  • Jamf Heroes
  • July 20, 2015

Hrm... there should be a number of ways to do this and I haven't tried most of them. Have you given the "User Elements" section of Composer a shot? Obviously this can be scripted but I like nice simple solutions where possible. Bear in mind that I have no idea if FUT or FET works on the sidebar.plist.


bpavlov
Forum|alt.badge.img+18
  • Esteemed Contributor
  • July 21, 2015

@Chris_Hafner Simple isn't always right though. For example if he copied the entire com.apple.sidebarlists.plist file that would have user specific shortcuts that become useless under a new user account.

@InsigniamLLC Have a look at this blog post: my link text.


Chris_Hafner
Forum|alt.badge.img+27
  • Jamf Heroes
  • July 21, 2015

@bpavlov Quite correct! Actually, I didn't realize that it grabs the entire sidebar plist. Oh well. Part of why I tried to give a broad disclaimer about my having not used them ;-) Now, your method looks pretty simple and it does seem like the right way!