I see I'd misapplied the rule in walk(5) so fossil is fine. It has to do with searching from . when you are there, which makes sense, not when entering the directory from its parent,
so ignore that part of my earlier post.


On Mon, Jun 8, 2020 at 3:13 AM Charles Forsyth <charles.forsyth@gmail.com> wrote:
"search" is exactly the wrong word for what this bit does, because if you don't have "search" permission, the one thing you can still do is look at the names.

in ramfs, but that's a bug that no-one had noticedĀ 

On Mon, Jun 8, 2020 at 3:05 AM <ori@eigenstate.org> wrote:
>>> 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.

cwfs, but -- yeah, it's enforced inconsistently across
different file systems. (of course).


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tdd7a9b1b32d01f54-M9cf36356f4d9761339774af6
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription