hello all - first time posting.
i am trying to run node.js from an account called "foo" and wish to write into an area in the
bar.com area:
i am trying to use mkdirp and am getting the following error:
process.setuid(555) ; // 555 is foo's UID
errno: 3,
code: 'EACCES',
mkdirp works fine for me when i run as root or when i write into foo's area, but when i try to mkdirp in another users area, i get the EACCESS error.
i was tempted to look into seeing if i could temporarily grant the node process root privilege, but wanted to run the issue by some others first.
any suggestions for a first-time posting?