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