feat(chmod): add Linux file permissions calculator tool (closes #82) - #93
Open
ajithakdev wants to merge 3 commits into
Open
ajithakdev wants to merge 3 commits into
ajithakdev wants to merge 3 commits into
Conversation
- Interactive permission matrix with checkboxes for User, Group, Other - Read (4), Write (2), Execute (1) weights - Special bits: SUID (4000), SGID (2000), Sticky Bit (1000) - Live outputs: numeric octal, symbolic notation, chmod command, ls -la preview - Common security presets (644, 755, 600, 700, 777, 1777, 4755, 2775) - Reverse lookup (input octal to update matrix) - Full unit and component test coverage (17 tests)
✅ Deploy Preview for toolglass-by-ajithakdev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Devin Review found 4 potential issues.
2 flags not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)
… editing, and shell escaping
…permission changes in tests
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the Linux chmod Permissions Calculator tool requested in #82.
Features
s,S,t,T).755,644,1777)rwxr-xr-x,rwxrwxrwt)chmod 755 filename.sh) with customizable file namechmod u=rwx,g=rx,o=rx filename.sh)ls -lastyle output preview?v=755).Testing
chmod.test.tsverifying all octal math, symbolic logic, special bits, presets, and error edge cases.chmodTool.test.tsxcovering interactive checkbox changes, preset buttons, reverse text input, and reset.npm run lintpasses with 0 warnings / 0 errors.npm run buildcompiles cleanly in ~700ms.Closes #82