From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 3EE412AC982C for <9fans@9fans.net>; Sun, 7 Jun 2020 11:41:34 -0400 (EDT) (envelope-from miller@hamnavoe.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id B78C0304287; Sun, 7 Jun 2020 11:41:34 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1591544494; b=lra+koOSNrNHx/HP+HdJv1Pdkh/YQPVmBUKWc7dlm22QPMysOf 5W1WF0eVN5ZRYPppM301um4xeq8XnpiBrl/fXPzoa4VbW2e09Nnss5JC0SVPVB2p 9LomulXE2XwJi7KRNwhwwgqHuPMPCKSZqkCWZ1dmlym3QrmFeIyWyJfvmyhukM6E nvTq0T8E/xGqqSxgYkas32NlHmy8RHOd6NSJLf5r+/xP1OTXGYPx5WnYOOR2Mj+T uEAPj2Gk08YA68JO9aJ+YZYgn18YL3NjXk6BfURsO4shihFeXaMKjO0+5fzfbuYN lZrYxp3dqArn3YeZ3meUFMZrgamQxh9l0NPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:from:date:in-reply-to :mime-version:content-type:content-transfer-encoding; s=arcseal; t=1591544494; bh=RiPN9vO7aVeKVq94dZ5cTb7FBiEujhd1JrP22S+iC2E=; b= oz/T4vkJVN/AMiYro3cXenb/4AvbAgkIWkhCQKz4fZV/ODXy3LZn/895wbYGmxc5 2GnlEN1HvBxXVKq6pxPTjOTMax+iGQACI+bl1qYXa5U/OeQhEqBACAm4Zf7a6vCX zU5WJuVX66WXL24eFYwyLHWpZozmckbP1mnQs+S+KEl9o7xnSAHYCfktSxxq0X++ 6WnZB0Sjz9aWhBjN/RkGfiJBgef8OGugQN7tDJiq/6kBYyGG4r5bkKOY7o40jJQt jUATuze2Z09N3gY/5W4enp0zN19POOtcVV7hlJssgYBJhh5RTF1E3f+wF3WnFxo/ 9xB6neJYnbBIkPI9SERMhA== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC none); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=hamnavoe.com; iprev=pass smtp.remote-ip=46.235.227.24 (balrog.mythic-beasts.com); spf=pass smtp.mailfrom=miller@hamnavoe.com smtp.helo=balrog.mythic-beasts.com; x-aligned-from=domain_pass (Domain match); x-ptr=pass smtp.helo=balrog.mythic-beasts.com policy.ptr=balrog.mythic-beasts.com; x-return-mx=pass header.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx1.mythic-beasts.com,mx2.mythic-beasts.com); x-return-mx=pass smtp.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx1.mythic-beasts.com,mx2.mythic-beasts.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC none); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=hamnavoe.com; iprev=pass smtp.remote-ip=46.235.227.24 (balrog.mythic-beasts.com); spf=pass smtp.mailfrom=miller@hamnavoe.com smtp.helo=balrog.mythic-beasts.com; x-aligned-from=domain_pass (Domain match); x-ptr=pass smtp.helo=balrog.mythic-beasts.com policy.ptr=balrog.mythic-beasts.com; x-return-mx=pass header.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx1.mythic-beasts.com,mx2.mythic-beasts.com); x-return-mx=pass smtp.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx1.mythic-beasts.com,mx2.mythic-beasts.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeduhedrudegledgkeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkvffuhf ffjgggtgfgsehtjehjtddttddvnecuhfhrohhmpeftihgthhgrrhguucfoihhllhgvrhcu oeelfhgrnhhssehhrghmnhgrvhhovgdrtghomheqnecuggftrfgrthhtvghrnhepvedtfe dtjeefhfellefhtddthffhgffhfedufeetgffhheefhffftedvheegjeeunecukfhppeeg iedrvdefhedrvddvjedrvdegpdekkedrleejrddvjedrkeefnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehinhgvthepgeeirddvfeehrddvvdejrddvgedphhgvlhho pegsrghlrhhoghdrmhihthhhihgtqdgsvggrshhtshdrtghomhdpmhgrihhlfhhrohhmpe eomhhilhhlvghrsehhrghmnhgrvhhovgdrtghomhequcfukfgkgfepvddvieei X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (hamnavoe.com: Sender is authorized to use 'miller@hamnavoe.com' in 'mfrom' identity (mechanism 'include:_spf.mythic-beasts.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="miller@hamnavoe.com"; helo=balrog.mythic-beasts.com; client-ip=46.235.227.24 Received: from balrog.mythic-beasts.com (balrog.mythic-beasts.com [46.235.227.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Sun, 7 Jun 2020 11:41:33 -0400 (EDT) (envelope-from miller@hamnavoe.com) Received: from [88.97.27.83] (port=50456 helo=hamnavoe.com) by balrog.mythic-beasts.com with esmtpsa (TLS1.0:RSA_3DES_EDE_CBC_SHA1:192) (Exim 4.92.3) (envelope-from ) id 1jhxQO-0004id-Py for 9fans@9fans.net; Sun, 07 Jun 2020 16:41:33 +0100 Message-ID: To: 9fans@9fans.net Subject: Re: [9fans] `test -x` returns wrong results for directories From: Richard Miller <9fans@hamnavoe.com> Date: Sun, 7 Jun 2020 16:41:27 +0100 In-Reply-To: <309c60a4-29cb-4789-ae18-9388bd8b60b3@www.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-BlackCat-Spam-Score: 1 X-Spam-Status: No, score=0.2 Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 6028d5be-a8d5-11ea-8485-bed29866afd9 >> So, cd'ing into a directory withut +x leads >> to an inescapabler trap. > ... > fossil just moved up another notch in my estimation because directory search restriction is so broken. ori@eigenstate.org, what version of fossil were your experiments done on? My observations are different: term% mkdir -p d/a/b term% touch d/x term% chmod -x d term% ls -ld d d-rw-r--r-- M 12 miller miller 0 Jun 7 16:38 d term% cd d term% cd .. term% ls d d/a d/x term% No trap that I can see here.