IETF-SSH archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Case sensitivity on sftp servers



On  8 Sep 2003 Dan O'Reilly <dano%process.com@localhost> wrote:

> At 10:34 PM 9/7/2003, Martin Pool wrote:
> >On  7 Sep 2003 Dan O'Reilly <dano%process.com@localhost> wrote:
> >
> > > At 08:20 PM 9/7/2003, Martin Pool wrote:
> > > >So with case sensitivity on
> > > >
> > > >   OPEN("README", WRITE|CREAT|EXCL|CASE_INSENSITIVE)
> > > >
> > > >in a directory containing "readme" ought to fail with
> > > >FILE_ALREADY_EXISTS even on a case-sensitive filesystem, and
> > > >
> > > >   OPEN("README", READ|CASE_SENSITIVE)
> > > >
> > > >in a directory containing "readme" ought to fail with
> > > >NO_SUCH_FILE even on a case-insensitive filesystem?
> > >
> > > No, it wouldn't necessarily do so on VMS, which supports multiple
> > > versions of files.
> >
> >How would it behave on VMS, sensei?
> 
> Well, specifically with respect to the example creating the file, it
> would simply create a new version of the file, leaving the old one
> intact(depending on if a version limit for the file/directory was set,
> and the depth to which it is set).

Doesn't that contradict the meaning of SSH_FXF_EXCL?

  Causes the request to fail if the named file already exists.

Anyhow, what does that have to do with case sensitivity?

-- 
Martin 



Home | Main Index | Thread Index | Old Index