home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / mod.std.unix.v8 / text0061.txt < prev    next >
Encoding:
Internet Message Format  |  1987-06-30  |  1.2 KB

  1. Date: Mon, 1 Dec 86 13:49:52 PST
  2. From: guy@Sun.COM (Guy Harris)
  3.  
  4. > 4.2BSD refuses to namei a file with 8-bit character(s) because that's a good
  5. > sign that the directory entry has been thumped.  The super-user is allowed
  6. > to namei files with 8-bit characters.
  7.  
  8. 4.2BSD refuses to namei a file with 8-bit character(s) because files like
  9. that are a royal pain to deal with, due to both the Bourne and C shell
  10. stripping all arguments to 7 bits before passing them to programs - not
  11. because they are most likely to appear in smashed directory entries.  The
  12. super-user is NOT allowed to namei files with 8-bit characters; the error
  13. returned in 4.2BSD is EPERM, but that doesn't mean it won't be given to the
  14. super-user.  The error was changed to EINVAL in 4.3BSD.
  15.  
  16. The point still stands, however, that the kernel shouldn't enforce
  17. restrictions like this.  The System V Release 3 Bourne shell has been fixed
  18. to handle 8-bit arguments, so you can use "rm -i *" or something like that
  19. if you want to remove files with 8-bit characters in their names.  Some
  20. Japanese companies have also fixed the C shell to handle files with names
  21. containing 8-bit characters.
  22.  
  23.  
  24. Volume-Number: Volume 8, Number 62
  25.  
  26.