Add support for file permissions