Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tmp directory for the temporary file. #27

Open
kurtbgriffith opened this issue Nov 3, 2020 · 0 comments
Open

Use tmp directory for the temporary file. #27

kurtbgriffith opened this issue Nov 3, 2020 · 0 comments

Comments

@kurtbgriffith
Copy link

Would it be possible to change line 9 of lib/util.js
from
var tempDeferredFilename = 'temp_deferred_' + Math.random() + '.tsv';
to
var tempDeferredFilename = '/tmp/temp_deferred_' + Math.random() + '.tsv';

This allows for better security while allowing other users such as a rundeck user to fire the parent process.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant