jamf-upload icon indicating copy to clipboard operation
jamf-upload copied to clipboard

/Volumes is being added to a DP path that is using file://

Open Lotusshaney opened this issue 1 year ago • 0 comments

I have a local DP that I want to have files copied to rather than an SMB share.

This works but /Volumes is automatically being added to the start of the path.

For example

defaults write ~/Library/Preferences/com.github.autopkg.plist SMB_URL "file:///Volumes/Data/Caspershare10" results in this error in the autopkg run and no file uploaded. Note the Extra /Volumes being added. JamfPackageUploader: Begin upload to File Share DP file:///Volumes/Data/Caspershare10 JamfPackageUploader: Expected path not found!: /Volumes/Volumes/Data/Caspershare10

Change the key to defaults write ~/Library/Preferences/com.github.autopkg.plist SMB_URL "file:///Data/Caspershare10" Note again /Volumes is being added, but this time as I have removed /Volumes from the key the path is correct. JamfPackageUploader: Begin upload to File Share DP file:///Data/Caspershare10 JamfPackageUploader: Existing package found: /Volumes/Data/Caspershare10/Packages/Tower-10.1.pkg

Lotusshaney avatar Oct 10 '23 10:10 Lotusshaney