Make sure you are using the right casing, +x not +X. The error means it isn't executable, so however you are setting it most likely isn't working.