8000 Install script barfs if run as another (non root) use via su. · Issue #74 · wincent/wincent · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Install script barfs if run as another (non root) use via su. #74
Closed
@bradwood

Description

@bradwood

Expected Behavior

install script runs fine in a shell which is obtained via su -l non-root-user

Actual Behavior

An error is thrown as follows:

./install: line 88: /dev/stdout: Permission denied

Steps to Reproduce the Problem

  1. create another user on your Mac (say temp)
  2. from your terminal run su -l temp
  3. run ./install

Details

This is not a huge problem, but I thought I'd log it in case anyone else has this issue. I'm building out my new dotfiles under a fresh, vanilla user on my Mac, but I'm editing and tweaking the repo from my existing account. I have a window where I am su'ed in as that other user and this is how the problem was spotted.

This stackoverflow post explains the problem.

Happy for this to be closed without a fix as I can hot-switch to the other use and log in "properly" to it. This setup was more as a convenience.

Update

The workaround is much easier than fast-switching between 2 GUI desktops. Just ssh temp@localhost once you've enabled sshd on your machine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0