Ben Grande f138cf0f78
Refactor permission-hardener
- Organize comments from default configuration;
- Apply and undo changes from a single file controlled by parameters;
- Arrays should be evaluated as arrays and not normal variables;
- Quote variables;
- Brackets around variables;
- Standardize test cases to "test" command;
- Test against empty or non-empty variables with "-z" and "-n";
- Show a usage message when necessary;
- Require root to run the script with informative message;
- Permit the user to see the help message without running as root;
- Do not create root directories without passing root check;
- Use long options for "set" command;
2024-01-02 12:17:16 +01:00
..
2023-03-30 17:08:47 +11:00
2023-10-27 14:32:08 +00:00
2021-09-06 04:55:16 -04:00
2023-03-30 17:08:47 +11:00
2023-03-30 17:08:47 +11:00
2023-03-30 17:08:47 +11:00
2023-10-27 14:34:21 +00:00
2023-03-30 17:08:47 +11:00
2023-03-30 17:08:47 +11:00
2023-06-22 16:16:15 +00:00