make chmod safty