mirror of https://github.com/aminya/setup-cpp
1005 B
1005 B
user-access
Give user access to the given path
Install
npm install --save user-access
Usage
grantUserWriteAccess
(function)
Give the user access to the given path and its sub-directories. It changes the owner to the SUDO_USER. This allows the user to use the folder without sudo
Parameters:
- path (
string
) - The path to give the user access to
returns: Promise
🤝 Contributing
You can sponsor my work here:
https://github.com/sponsors/aminya
Pull requests, issues and feature requests are welcome. See the Contributing guide.