Subject: Re: bugs and/or misfeatures in namei changes
To: John F. Woods <firstname.lastname@example.org>
From: Rick Kelly <email@example.com>
Date: 05/10/1997 13:05:05
John F. Woods said:
>I'm currently running Jason Thorpe's DMA test kernel, whose source
>date I don't know (but I assume is probably fairly recent). However,
>on the off chance that this pathname bug (or is it a "feature"?) is
>For an archive that I maintain, I have been in the habit of testing
>for a directory that might or might not exist with
> cp file /archive/path/directory/
>the idea being that if "/archive/path/directory" exists as a directory,
>I want to copy "file" into it, otherwise it should fail.
>Unfortunately, it now succeeds, copying "file" to
>"/archive/path/directory" (as a regular file).
I see this (mis)behavior here on:
However, SunOS 4.1.1 does the right thing.
Rick Kelly firstname.lastname@example.org email@example.com