Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The implementation of chmod was calculating the new permissions, but then setting the permissions back to the old ones. This fixes this bug. Similarly, the value returned was the od value rather than the new one.
- Loading branch information