Fix chmod signature