setup-cpp/packages/user-access
Amin Yahyaabadi ea23ed92ca feat: support single files in user-access 2022-11-20 23:02:23 -08:00
..
src feat: support single files in user-access 2022-11-20 23:02:23 -08:00
README.md feat: add user-access package 2022-08-07 21:03:16 -07:00
package.json fix: update dependencies 2022-08-26 03:34:54 -07:00
tsconfig.json feat: add user-access package 2022-08-07 21:03:16 -07:00

README.md

user-access

Version License: Apache--2.0

Give user access to the given path

Install

npm install --save user-access

Usage

giveUserAccess (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: void

🤝 Contributing

You can sponsor my work here:

https://github.com/sponsors/aminya

Pull requests, issues and feature requests are welcome. See the Contributing guide.