Added permissions and executable information.

This should allow clients to tell which files should be executable.