correcting directory permissions: cannot execute a dir