Template
1
0
mirror of https://github.com/aminya/setup-cpp synced 2024-11-30 21:22:30 +08:00
setup-cpp/packages/user-access/README.md
2023-09-07 13:47:30 -07:00

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.