Simple util to check user access for changing files and directories in unix filesystem
- -std=c++2a
- -lstdc++fs
- Download the deb package
- Install
- Run in Terminal
sudo usacu -u username -g groupname -p /path/to/be/inserted/here/
- Create argument parser
- Make system reader(SR)
- Make SR recursive
- Make etc/passwd and etc/group files reader
- Make permissions checker
- Change architecture wih applying to be expandable
- Change SR with applying not to be dropped by "permission denied" error
- Create Makefile
- Wrap util as the deb package
- Extend util to the Linux: $ ls service
- class AccessChecker - is the main body of the util, it provides functions to set configuration of the process, to make checks and to output results;
- func getFiles - going thought packages and files and outputting results for every met files and directories;
- func CheckUser - checking user permission for changing provided by reference file or directory;
- func setConfigs - evaluating possibility of changing session variables(user id, group id) and make this changes;
- tools - is a set of functions which are created for input parsing and validation;