Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!caen!sdd.hp.com!think.com!linus!linus!mbunix!dsg From: dsg@mbunix.mitre.org (Goldberg) Newsgroups: comp.sys.mips Subject: Re: regular-file/. bug Message-ID: Date: 14 Jan 91 21:04:48 GMT References: <14170@ulysses.att.com> Sender: usenet@linus.mitre.org Distribution: comp.sys.mips Organization: The Mitre Corp., Bedford, MA. Lines: 22 Nntp-Posting-Host: mbunix.mitre.org In-reply-to: gsf@ulysses.att.com's message of 10 Jan 91 17:36:24 GMT > $ df . > Filesystem Type kbytes use avail %use Mounted on > /dev/dsk/ipc0d0s6 ffs 563983 562818 1165 100% /usr > $ cat > foo > $ ls -li foo > 30983 -rw-r--r-- 1 asr bdev 0 Jan 10 10:37 foo > $ ls -li foo/. > 30983 -rw-r--r-- 1 asr bdev 0 Jan 10 10:37 foo/. > the trailing /. is ignored by pathname resolution > the bug showed up in directory tree traversal code that tests if a known, > readable directory is searchable I can only repeat this with /bin/ls. /bsd43/bin/ls correctly flags foo/. as "not found". -- Dave Goldberg UNIX Systems Programmer/Administrator The Mitre Corporation MS B020 Bedford, MA 01730 617-271-2460 Domain: dsg@mbunix.mitre.org UUCP: {your neighborhood}!linus!mbunix!dsg