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

hidden configuration option error #10181

Closed
cyberduck opened this issue Dec 18, 2017 · 1 comment
Closed

hidden configuration option error #10181

cyberduck opened this issue Dec 18, 2017 · 1 comment
Assignees
Milestone

Comments

@cyberduck
Copy link
Collaborator

aace46f created the issue

I want to add default metadata on upload as described here for Mac:
https://trac.cyberduck.io/wiki/help/en/howto/cloudfiles
I want to add these two options:
Access-Control-Allow-Origin=*
X-Object-Meta-Access-Control-Allow-Origin=*
Maybe I am stupid but I cannot get the syntax to work.
There is another syntax here
https://trac.cyberduck.io/wiki/help/en/howto/preferences#Hiddenconfigurationoptions
That doesn't work either
How should the terminal command look like?

I am using 6.3.2, just downloaded it from AppStore, I cannot select it as version for some reason

Thanks, Johan

@cyberduck
Copy link
Collaborator Author

@dkocher commented

I have verified this setting to work as expected. Use

defaults write ch.sudo.cyberduck openstack.metadata.default "Access-Control-Allow-Origin=* X-Object-Meta-Access-Control-Allow-Origin=*"

or alternatively, explicitly specifying the defaults file for the installation from the Mac App Store using

defaults write ~/Library/Containers/ch.sudo.cyberduck/Data/Library/Preferences/ch.sudo.cyberduck.plist  openstack.metadata.default "Access-Control-Allow-Origin=* X-Object-Meta-Access-Control-Allow-Origin=*"

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants