Revert file permission changes