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

xvfb-run temp directory #2

Closed
eddelbuettel opened this issue Jan 17, 2018 · 0 comments
Closed

xvfb-run temp directory #2

eddelbuettel opened this issue Jan 17, 2018 · 0 comments

Comments

@eddelbuettel
Copy link
Owner

@eddelbuettel eddelbuettel commented Jan 17, 2018

When accepting it on CRAN (with some hesitation), Uwe wrote back

1. Looking into the xvfb-run-safe

# allow settings to be updated via environment
: "${xvfb_lockdir:=$HOME/.xvfb-locks}"
: "${xvfb_display_min:=99}"
: "${xvfb_display_max:=599}"

# assuming only one user will use this, let's put the locks in our own home directory
# avoids vulnerability to symlink attacks.
mkdir -p -- "$xvfb_lockdir" || exit

suggests this is against CRAN plicies, i.e. it creates files / dirs outside tempdir()? 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.