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