IETF-SSH archive

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

RE: Case sensitivity on sftp servers



> -----Original Message-----
> From: Dan O'Reilly [mailto:dano%process.com@localhost]
> Sent: Sunday, September 07, 2003 10:43 PM
> To: Martin Pool
> Cc: ietf-ssh%NetBSD.org@localhost
> Subject: Re: Case sensitivity on sftp servers
> 
> 
> 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.

What Dan should have said was that it would not fail on VMS because on VMS
ODS-2 volumes UPPERCASE is used to store filenames and they are
case-insensitive, so "README", "readme", "ReadMe" (and lots of other
variants) will all open the same file.

VMS ODS-5 volumes are CASE_PRESERVITIVE, but not CASE_SENSITIVE.  On VMS,
it's the user's (process) decision as to whether or not files are treated in
a case sensitive manner.

----------------------
Richard Whalen
Process Software




Home | Main Index | Thread Index | Old Index