Skip to content

Is it possible for a formula to create directories in the user's home directory? #778

Discussion options

You must be logged in to vote

If these are pre-built binaries, it might be better to write a cask rather than a formula. If you must use a formula, you might be able to write to $HOME in a post_install block. install blocks are run in a sandbox, which prevents installers from writing wherever they want to in your system.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Bo98
Comment options

Bo98 Feb 12, 2021
Maintainer

@davidji99
Comment options

Answer selected by davidji99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants