check for existance of chmod/chown