Hypothetically, if we had a system running Ubuntu, with the default user dan
. Then if dan
were to start the node.js server via : node server
What permissions would commands have when they are called through child_process.exec or child_process.spawn and will they have the same ability to access procceses that the default user
dan
does, such aspactl
?
There may be intricacies of child_process.exec or pulseaudio
that I am not aware of so forgive me if that is a bad example, but I am trying to get a general understand of how the permissions would work when using commands that invoke some type of system command or shell.
via Brett Reinhard
No comments:
Post a Comment