setup-cpp/packages/user-access/README.md

1005 B

user-access

Version License: Apache--2.0

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.