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
2022-11-20 23:02:23 -08:00
..
src feat: support single files in user-access 2022-11-20 23:02:23 -08:00
package.json fix: update dependencies 2022-08-26 03:34:54 -07:00
README.md feat: add user-access package 2022-08-07 21:03:16 -07:00
tsconfig.json feat: add user-access package 2022-08-07 21:03:16 -07:00

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.