File Permissions

Easy
16
81.8% Acceptance

Rahul, just learned about handling and mutating file permissions via Node.js. He attempt to sovle a challenge to test his newly acquired knowledge about file permissions.

The code written by rahul, doesn't pass all the test cases, can you help him figure out why the tests are failing and fix the code for him.