-1

I am about to set up a VPS with a user that lacks root privileges. I also have a Node.JS server that writes files to the disk. If I run this program/server without root privileges, will it still be able to write to the disk successfully?

1 Answer 1

2

It depends on the permissions and owners for the directories you are using it on and the user Node.JS server runs as. Without more information, no definite answer can be given.

3
  • OK that's what I had presumed, essentially the application will have the same privileges as the user that booted it, and if the application only attempts to write in directories owned by that user it will go through without problem?
    – Anthony
    Jul 2, 2015 at 23:17
  • 2
    Exactly that, modulo disk space, etc. Jul 3, 2015 at 0:02
  • Cool, thanks guys. Would give you some upvotes but don't have the reputation here on ServerFault yet.
    – Anthony
    Jul 3, 2015 at 0:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .