added support for X permission, overrides x