Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

The error console pops up sometimes because I run Atom as a user who isn't in the admin group (so I #1463

Closed
eric opened this issue Jan 22, 2014 · 7 comments · Fixed by #1543 · 4 remaining pull requests
Closed

The error console pops up sometimes because I run Atom as a user who isn't in the admin group (so I #1463

eric opened this issue Jan 22, 2014 · 7 comments · Fixed by #1543 · 4 remaining pull requests

Comments

@eric
Copy link

eric commented Jan 22, 2014

The error console pops up sometimes because I run Atom as a user who isn't in the admin group (so I don't have write access to /Applications/Atom.app).

http://cl.ly/image/2o2y2z0H1T1h

Atom Version: 1
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Atom/0.45.0 Atom-Shell/0.7.6 Safari/537.36

@probablycorey
Copy link

This may be fixed when #1464 lands (if not fixed then the error should at least be more clear)

@eric
Copy link
Author

eric commented Jan 23, 2014

Instead of just an error, I would like for Atom to use the Mac OS authentication UI to do that operation.

@probablycorey
Copy link

We should probably use authopen to handle the creation of the cli tools.

@probablycorey
Copy link

@zcbenz: you mentioned in #1529 that authopen won't work because of symlinks. We get around this limitation by using authopen to write a shell script that calls the atom.sh and apm/node_modules/.bin/apm files, correct?

But we would still have the problem that /usr/local/bin doesn't exist by default on OS X and authopen doesn't create directories. But runas won't be able to help with this directly, correct?

@zcbenz
Copy link
Contributor

zcbenz commented Feb 13, 2014

Textmate does it by calling the mkdir command with root privilege when current user doesn't have enough permission, after runas has been implemented with the Authorization Services API, we could repeat this behavior on OS X.

@lock
Copy link

lock bot commented Jan 27, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

@lock lock bot locked as resolved and limited conversation to collaborators Jan 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.