Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save amrynsky/de8e7b3b0bfaf81ef6bb0c726b48d90a to your computer and use it in GitHub Desktop.
Save amrynsky/de8e7b3b0bfaf81ef6bb0c726b48d90a to your computer and use it in GitHub Desktop.

Revisions

  1. @dalegaspi dalegaspi revised this gist Oct 26, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion brew_symlink_error_sierra.md
    Original file line number Diff line number Diff line change
    @@ -23,4 +23,4 @@ then this:
    sudo install -d -o $(whoami) -g admin /usr/local/Frameworks
    ```

    ...or just switch to MacPorts <img src=https://vignette3.wikia.nocookie.net/meme/images/c/c7/Fd665178b5.jpg/revision/latest/scale-to-width-down/2000?cb=20160524214933 style="width: 50px;" />
    ...or just switch to MacPorts 😂
  2. @dalegaspi dalegaspi revised this gist Oct 26, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion brew_symlink_error_sierra.md
    Original file line number Diff line number Diff line change
    @@ -23,4 +23,4 @@ then this:
    sudo install -d -o $(whoami) -g admin /usr/local/Frameworks
    ```

    ...or just switch to MacPorts ![troll](https://vignette3.wikia.nocookie.net/meme/images/c/c7/Fd665178b5.jpg/revision/latest/scale-to-width-down/2000?cb=20160524214933 =50)
    ...or just switch to MacPorts <img src=https://vignette3.wikia.nocookie.net/meme/images/c/c7/Fd665178b5.jpg/revision/latest/scale-to-width-down/2000?cb=20160524214933 style="width: 50px;" />
  3. @dalegaspi dalegaspi revised this gist Oct 26, 2017. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion brew_symlink_error_sierra.md
    Original file line number Diff line number Diff line change
    @@ -21,4 +21,6 @@ then this:

    ```bash
    sudo install -d -o $(whoami) -g admin /usr/local/Frameworks
    ```
    ```

    ...or just switch to MacPorts ![troll](https://vignette3.wikia.nocookie.net/meme/images/c/c7/Fd665178b5.jpg/revision/latest/scale-to-width-down/2000?cb=20160524214933 =50)
  4. @dalegaspi dalegaspi revised this gist Oct 26, 2017. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion brew_symlink_error_sierra.md
    Original file line number Diff line number Diff line change
    @@ -9,12 +9,14 @@ Permission denied @ dir_s_mkdir - /usr/local/Frameworks
    Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks
    ```

    then do this (note the `$(brew --prefix)/*` ...High Sierra doesn't allow you to change permissions on /user/local directly) :
    then do this:

    ```bash
    sudo chown -R $(whoami) $(brew --prefix)/*
    ```

    note the `$(brew --prefix)/*` ...High Sierra doesn't allow you to change permissions on /user/local directly)

    then this:

    ```bash
  5. @dalegaspi dalegaspi renamed this gist Oct 26, 2017. 1 changed file with 11 additions and 3 deletions.
    14 changes: 11 additions & 3 deletions brew_symlink_error_sierra.txt → brew_symlink_error_sierra.md
    Original file line number Diff line number Diff line change
    @@ -1,14 +1,22 @@
    ### Homebrew and Symlink Issues

    if you see this:

    ```bash
    Error: An unexpected error occurred during the `brew link` step
    The formula built, but is not symlinked into /usr/local
    Permission denied @ dir_s_mkdir - /usr/local/Frameworks
    Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks
    ```

    then do this (note the `$(brew --prefix)/*` ...High Sierra doesn't allow you to change permissions on /user/local directly) :

    then do this (note the $(brew --prefix)/* ...High Sierra doesn't allow you to change permissions on /user/local directly) :

    ```bash
    sudo chown -R $(whoami) $(brew --prefix)/*
    ```

    then this:

    sudo install -d -o $(whoami) -g admin /usr/local/Frameworks
    ```bash
    sudo install -d -o $(whoami) -g admin /usr/local/Frameworks
    ```
  6. @dalegaspi dalegaspi created this gist Oct 26, 2017.
    14 changes: 14 additions & 0 deletions brew_symlink_error_sierra.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    if you see this:

    Error: An unexpected error occurred during the `brew link` step
    The formula built, but is not symlinked into /usr/local
    Permission denied @ dir_s_mkdir - /usr/local/Frameworks
    Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks

    then do this (note the $(brew --prefix)/* ...High Sierra doesn't allow you to change permissions on /user/local directly) :

    sudo chown -R $(whoami) $(brew --prefix)/*

    then this:

    sudo install -d -o $(whoami) -g admin /usr/local/Frameworks