add file permissions for image uploader