LearnBoost / cluster

Node.JS multi-core server manager with plugins support.
http://learnboost.github.com/cluster
MIT License
2.29k stars 159 forks source link

EPERM error if logs/pids is owned by different user #175

Open eirikurn opened 12 years ago

eirikurn commented 12 years ago

In my setup, the automated production environment manages the logs and pids folders. They are not owned by the node runner, but they are group writable for the node runner.

Cluster however tries to create these folders and asks for 755 permissions, so even if the folder exists, node still tries to enforce the permission and fails because it is not the owner of the folder.