Use eaccess() only if available