rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Alan Watson <alan@oldp.astro.wisc.edu>
To: rc@hawkwind.utcs.toronto.edu
Subject: bug in globber?
Date: Sat, 22 May 1993 13:13:49 -0400	[thread overview]
Message-ID: <9305221713.AA03079@oldp.astro.wisc.edu> (raw)

rc doesn't seem to be able to glob through a directory without having
read permission; sh can.

; mkdir foo
; echo foo/../foo*
foo/../foo
; chmod u-r foo
; echo foo/../foo*
foo/../foo*
; sh
$ echo foo/../foo*
foo/../foo
$ sh5
$ echo foo/../foo*
foo/../foo
$

This is under Ultrix 4.3, so /bin/sh is a creaky old v7 sh and /bin/sh5
is the SVR2 sh.  And, no, the shs aren't running setuid root!

Alan.


             reply	other threads:[~1993-05-22 17:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-05-22 17:13 Alan Watson [this message]
1993-05-22 23:46 Emin Gun Sirer
1993-05-23  4:31 Paul Haahr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9305221713.AA03079@oldp.astro.wisc.edu \
    --to=alan@oldp.astro.wisc.edu \
    --cc=rc@hawkwind.utcs.toronto.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).