Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Lotusshaney opened this issue Oct 10, 2023 · 0 comments
Open

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

Lotusshaney opened this issue Oct 10, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Lotusshaney
Copy link

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

@grahampugh grahampugh added the bug Something isn't working label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants