Skip to content

Add sudo to build script - #17

Closed
sonoble wants to merge 1 commit into
meta:masterfrom
sonoble:master
Closed

sonoble wants to merge 1 commit into
meta:masterfrom
sonoble:master

Conversation

@sonoble

@sonoble sonoble commented Feb 9, 2018

Copy link
Copy Markdown
Contributor

Summary:

The Open/R build script is designed to be executed under the root account directly or via sudo.

Adding sudo within the script allows for the Open/R build script to use root privileges as needed.

Test Plan:

  • Execute script multiple times under different versions of Linux (Ubuntu, Debian) to confirm that the build completes under a normal admin user with sudo access.

Summary:
Open/R is normally built with the entire build script executed under the root account directly or via sudo.

Adding sudo allows for the Open/R build script to use root privileges as needed.
@saifhhasan

Copy link
Copy Markdown
Contributor

Thanks @sonoble for the pull request with proper summary and test-plan. I will initiate a pull. This request will be automatically closed when pull is successful.

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@saifhhasan is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants