- Raise an exception if chmod() fails