Skip to content

Ruby: World-writable directory in PATH. #25801

Answered by weide-zhou
matthewtodd asked this question in Actions
Discussion options

You must be logged in to vote

Hi Matthew,

Thank you for taking time to report this!

This warning is due to the directory has been added to your $PATH(the list of directories the OS searches when trying to find an executable to launch),  and permission is writable anyone can write to. This is potential a security problem, Ruby notices this and issues the warning.

However,  the hosted-github runner is a temporary virtual environment which will be deprecated after workflow run complete.  GitHub hosts Linux and Windows runner is a fork of azure pipeline agent, it’s safe and protected. In addition, make the directory in $PATH un-writable by default will cause other problems.

As a workaround, please use below command to cha…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants