I’m trying to create a shortcut from the sharesheet to save a file to particular iCloud Drive/Files folder. However within the options for the ‘save file’ action in shortcuts only allows me to save into the directory ‘/shortcuts/‘. How do I change this so that I can specify a file path that is not within ‘/shortcuts/‘?

enter image description here


You can't access files outside /Shortcuts/ on purpose, it's called sandboxing and makes sure that your iCloud data is safe!

As a matter of fact, it used to be possible to trick Shortcuts.app with a relative path (e.g. /Shortcuts/../../hiddenData/), but that security problem (CVE-2019-7289) was fixed in February 2019: release notes

| improve this answer | |
  • Protecting you from...yourself. – luckman212 Nov 2 at 0:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .