fixed incorrect permissions
getting back in sync with upstream