Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Uncaught Error: EACCES, permission denied. // Idea: Maybe an enhancement. #43

Open
keeev opened this issue Sep 12, 2014 · 1 comment
Open

Comments

@keeev
Copy link

keeev commented Sep 12, 2014

Hey,

I guess it's not a bug but something which could definitely be enhanced.
While I got this error above I tried to modify a file which I created through the terminal via sudo, that means I shouldn't have the permission to do so. Sometimes Mac OS asks me for my password as the root user then. Do you have any idea for making this step more seamless?

It's a little bit wird because the console opens then and throws that error:
/Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/lib/file.js:190
otherwise it would be a way you're used to when you modify files without permission on OS X.

@notslang
Copy link

notslang commented Dec 4, 2014

if you're trying to open a file made with sudo, open atom with sudo:

sudo atom /path/to/your/file

I think there's also a graphical version of this called cocoasudo, but it's not builtin like Ubuntu's gksudo.

Anyway, this issue doesn't really have anything to do with pathwatcher & should be closed/migrated to https://discuss.atom.io/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants