0

I have a node.js app running that should be able to access a file for reading. As a test, I've set the file to chmod 777 server.log. However, when I try to write to it using fs.appendFile(), I get an EACCESS error on the file. If I run the app using sudo (which I don't want to do), there is no problem with access. However, I am using authbind to gain port access etc. and when using that, this problem appears. Any Ideas?

closed as off-topic by DavidPostill, Breakthrough, mdpc, Deltik, Raystafarian Dec 3 '15 at 15:16

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill, Breakthrough, mdpc, Deltik, Raystafarian
If this question can be reworded to fit the rules in the help center, please edit the question.

1

Turns out I just had the wrong path. Works like a charm now :)

Not the answer you're looking for? Browse other questions tagged or ask your own question.