[bugfix] Make sure to set the correct characters in the permissions string when execute bits are not set