Fix permission on export action