Add docstring, comments to file permissions test, since working with file permissions in Python is generally confusing.