🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by std-unix Thu, 04 Dec 1986 15:20
Re: case sensitive filenames
#416
Author: std-unix
Date: Thu, 04 Dec 1986 15:20
26 lines
1765 bytes
References:

Date: Mon, 1 Dec 86 13:49:52 PST
From: guy@Sun.COM (Guy Harris)

> 4.2BSD refuses to namei a file with 8-bit character(s) because that's a good
> sign that the directory entry has been thumped.  The super-user is allowed
> to namei files with 8-bit characters.

4.2BSD refuses to namei a file with 8-bit character(s) because files like
that are a royal pain to deal with, due to both the Bourne and C shell
stripping all arguments to 7 bits before passing them to programs - not
because they are most likely to appear in smashed directory entries.  The
super-user is NOT allowed to namei files with 8-bit characters; the error
returned in 4.2BSD is EPERM, but that doesn't mean it won't be given to the
super-user.  The error was changed to EINVAL in 4.3BSD.

The point still stands, however, that the kernel shouldn't enforce
restrictions like this.  The System V Release 3 Bourne shell has been fixed
to handle 8-bit arguments, so you can use "rm -i *" or something like that
if you want to remove files with 8-bit characters in their names.  Some
Japanese companies have also fixed the C shell to handle files with names
containing 8-bit characters.


Volume-Number: Volume 8, Number 62
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads