summaryrefslogtreecommitdiff
path: root/Userland/chgrp.cpp
AgeCommit message (Collapse)Author
2020-08-06Userland: Use Core::ArgsParser for 'chgrp'Linus Groh
2020-06-12AK: Make string-to-number conversion helpers return OptionalAndreas Kling
Get rid of the weird old signature: - int StringType::to_int(bool& ok) const And replace it with sensible new signature: - Optional<int> StringType::to_int() const
2020-04-04Userland: Fix null-pointer deref on unknown user/group in chown/chgrpAndreas Kling
We can't just blindly dereference the result of getpwnam()/getgrnam()! Fixes #1625.
2020-01-18Meta: Add license header to source filesAndreas Kling
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header.
2020-01-12Userland: Add the chgrp command0xtechnobabble
The chgrp command allows the user to easily modify a file's group while leaving its owner unchanged.