-
Notifications
You must be signed in to change notification settings - Fork 908
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(GH-398) Default install permissions enhancements
Adding to the changes in 680dc88, further secure down the default Chocolatey installation directory. - If not the default install path, do not make any changes. Issue a warning so the user knows they need to secure their own install For the default install path: - If not being run from an administrative context, throw. Do not allow the installation. - Remove existing explicit permissions - Change the owner to Administrators This work is the result of a continued conversation with @jberezanski and thanks goes to Jakub in providing some of this code and testing the installation for security holes.
- Loading branch information
1 parent
fac036f
commit da59bd2
Showing
1 changed file
with
32 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters