chkprm banner

chkprm

4 devlogs
1h 40m 12s

A simple command line utility to make permissions easier for Mac/Linux!

Demo Repository

Loading README...

Solar

Shipped this project!

Hours: 1.67
Cookies: 🍪 39
Multiplier: 23.31 cookies/hr

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!

Solar

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!

Attachment
0
Solar

It works! It can now tell you what permissions a file has, and also what it means too.

Attachment
0
Solar

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.

What is a file permission? (Linux)

File permissions are critical to determine whether a user can read or write to a file/directory, as well as execute it.

Attachment
0
Solar

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).

Attachment
2

Comments

Ryan Chen
Ryan Chen 2 months ago

Wait, this is a really impressive project. I’ve just been backreading it and it seems really useful.

B3N118
B3N118 about 2 months ago

This things looks awesome! Gave it a great rating in voting.