File Name Mapping

NT and UNIX file name tips.

Michael P. Deignan

February 28, 1997

1 Min Read
ITPro Today logo in a gray background | ITPro Today

Windows NT NFS products map permissions between NT and UNIX systems,but they don't adjust for the case differences between NT and UNIX file names.

When you save a file on an NTFS disk, the file is stored using the exactcase you specify. Thus, if you save a file as MyFile.Txt, under NT, accessingthis file as MyFile.Txt or myfile.txt (or any combination of upper- andlowercase letters) always produces the correct file because NT always convertsthe filename to uppercase when it searches for a file.

UNIX systems, in contrast, are case sensitive. If you try to access MYFILE.TXT on a UNIX system over an NFS link, NFS will report that the file is notfound. This confusion happens because UNIX attempts to match the filename exactlyas you specify. NFS server products on NT do not map filenames to uppercase.Thus, when you access a UNIX file from an NT system, be sure to specifythe exact file name, otherwise your request will fail.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like