Skip to main content
Solved

Issues Copying Files in a Policy


Forum|alt.badge.img+5
  • New Contributor
  • 2 replies

Casper Team,

I have a policy that needs to put files in the following locations.

/Library/Fonts
/System/Library/User Template/English.lproj/Library/Preferences/
/System/Library/User Template/English.lproj/Library/Preferences/Adobe InDesign/Version 7.5/en_US (Adobe InDesign/Version 7.5/en_US is a folder that I need to be created during the policy execution)

I used the Disk Utility and Composer to create a DMG that contained the files but when the policy is executed none of the files are copied. I created a DMG that puts files in the /Users/Administrator/Desktop and that works fine.

Does anyone know how I can put files in the following locations? We have different departments that need custom images.

Thanks!
Enzi Jauregui

Best answer by davidacland

Hi,

In composer, make a dmg package with the following:

/Library/Fonts
/Users/username/Library/Preferences/Adobe InDesign/Version 7.5/en_US (Adobe InDesign/Version 7.5/en_US

(where "username" is your home folder name).

When you upload it to Casper Admin, enable the FUT (Fill User Template) option and it will put the files into /System/Library/User Template.

You can also use the FEU (Fill Existing Users) button to add it to any pre-existing user homes.

You shouldn't need /Users/username/Library/Preferences as well as the item below it will create the path if it doesn't exist.

View original
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+14
  • Contributor
  • 270 replies
  • May 19, 2015

Here is how I would do it:

  1. Log in to OS X with a generic account for packaging
  2. Put the desired fonts in /Library/Fonts
  3. Put the desired Preferences in ~/Library/Preferences/
  4. Drag the Fonts/Plists into the Sources section of Composer (top half of left pane). This will create a new Source, you can drag additional files to this package as needed.
  5. Name your package
  6. Check your permissions
  7. Build as a DMG
  8. Use FEU and FUT when deploying.

Forum|alt.badge.img+18
  • Valued Contributor
  • 1811 replies
  • Answer
  • May 19, 2015

Hi,

In composer, make a dmg package with the following:

/Library/Fonts
/Users/username/Library/Preferences/Adobe InDesign/Version 7.5/en_US (Adobe InDesign/Version 7.5/en_US

(where "username" is your home folder name).

When you upload it to Casper Admin, enable the FUT (Fill User Template) option and it will put the files into /System/Library/User Template.

You can also use the FEU (Fill Existing Users) button to add it to any pre-existing user homes.

You shouldn't need /Users/username/Library/Preferences as well as the item below it will create the path if it doesn't exist.


Forum|alt.badge.img+16
  • Valued Contributor
  • 1002 replies
  • May 19, 2015

Are you sure they aren't there and you just can't see them? Most of those locations have quite specific permissions.
I push things into the template folder all the time without issues.
Usually I enable and enter the root account and run composer from there for the creation of the packages.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings