home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9734 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.3 KB

  1. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!torvalds
  2. From: torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: symlinks in 0.97pl2
  5. Message-ID: <1992Sep3.103546.11747@klaava.Helsinki.FI>
  6. Date: 3 Sep 92 10:35:46 GMT
  7. References: <1992Aug31.020059.21670@athena.mit.edu> <1992Sep2.205903.6121@julian.uwo.ca>
  8. Organization: University of Helsinki
  9. Lines: 27
  10.  
  11. In article <1992Sep2.205903.6121@julian.uwo.ca> klode@syslab.csd.uwo.ca (Claude Morin) writes:
  12. >SunOS 4.1.1 allows the following:
  13. >
  14. >     r-x--x--x    ...        ff*
  15. >    lrwxrwxrwx    ...        bob -> ff*
  16. >
  17. >    rubble[400] % cat bob
  18. >    #!/bin/sh -
  19. >    echo hello
  20. >    rubble[401] % ./ff
  21. >    hello
  22. >    rubble[402] % ./bob
  23. >    hello
  24. >
  25. >So I guess that linux is 'broken'.  Perhaps linux is displaying correct POSIX
  26. >behaviour...
  27.  
  28. No, linux isn't "posixly" correct: it's a bug that creapt in with the
  29. changed symlink code in 0.97.pl2.  The pl2 behaviour is to require
  30. read-permissions of any target of a symlink, which is definitely wrong -
  31. but I already corrected it, and pl3 (out Saturday) gets it right.  pl3
  32. also contains the multiple swap-file and swapoff() code, as well as
  33. various other minor fixes.  If pl3 is ok, I'll probably release it later
  34. as 0.98 with no essential changes: just adding the tcpip directory and
  35. possibly other "secondary" code. 
  36.  
  37.         Linus
  38.