A simple command line utility to make permissions easier for Mac/Linux!
A simple command line utility to make permissions easier for Mac/Linux!
Made the base project! This was fun and I already learnt a lot about the restrictions of Rust and also more in-depth of how permissions work. Thanks for reading!
chkprm is now ready for its first ship! If this project were to continue, I would add directories and support for filters, such as -u for user only, for example. Thanks for reading!
Log in to leave a comment
It works! It can now tell you what permissions a file has, and also what it means too.
Log in to leave a comment
This might look like a bunch of mumbo jumbo, but this is a good sign! It means we can actually read the permissions from a file, and then later parse it.
File permissions are critical to determine whether a user can read or write to a file/directory, as well as execute it.
Log in to leave a comment
Welcome! When thinking of project ideas, I thought “why not combat a problem I’ve always dealt with?”, so I thought this would be a good opportunity to learn Rust better.
Permissions have been difficult for me to wrap my head around with. Sometimes I just do chmod +x example.txt without knowing what it does and call it a day. So, I’ve spent about half an hour learning how to read from command arguments and files, no matter if the path is absolute or relative (relative: example.txt, absolute is the full path).