Cyberduck Mountain Duck CLI

#10181 closed defect (worksforme)

hidden configuration option error

Reported by: johan.belin Owned by: dkocher
Priority: high Milestone: 7.0
Component: cloudfiles Version: 6.3.1
Severity: normal Keywords:
Cc: Architecture: Intel
Platform: macOS 10.12

Description

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

Change History (3)

comment:1 Changed on Dec 22, 2017 at 8:59:47 AM by dkocher

  • Milestone changed from 6.3.2 to 7.0

comment:2 Changed on Feb 17, 2018 at 2:24:47 PM by dkocher

  • Owner set to dkocher
  • Status changed from new to assigned

comment:3 Changed on Feb 17, 2018 at 2:25:56 PM by dkocher

  • Resolution set to worksforme
  • Status changed from assigned to closed

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=*"
Note: See TracTickets for help on using tickets.
swiss made software