From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "ZSH workers mailing list" <zsh-workers@sunsite.auc.dk>
Subject: RE: 07cond test failure
Date: Fri, 3 Mar 2000 21:26:59 +0300 [thread overview]
Message-ID: <000c01bf853e$0fdb2570$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <000501bf8518$ba860d80$21c9ca95@mow.siemens.ru>
>
> bor@itsrm2% zsh -f ztst.zsh 07cond.ztst
> chmod: Execute permission required for set-ID
> on execution for modish
> ...
> Test 07cond.ztst failed: bad status 1, expected 0 from:
> [[ -g modish && ! -g zerolength ]]
> Was testing: -g cond
>
> SUS V2 specifies this as implementation dependent.
>
> Why 07cond sets umask to 077?
>
Hmm ... I'm afarid I was not clear enough. 07cond.ztst sets umask to 077 and
creates directory modish that gets permissions 700. Than it tries to set
SGID bit that fails because x bit is not set for group and SGID is not
permitted in this case.
/andrej
next prev parent reply other threads:[~2000-03-03 18:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-03 13:59 Andrej Borsenkow
2000-03-03 18:26 ` Andrej Borsenkow [this message]
2000-03-04 5:47 ` Bart Schaefer
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='000c01bf853e$0fdb2570$21c9ca95@mow.siemens.ru' \
--to=andrej.borsenkow@mow.siemens.ru \
--cc=zsh-workers@sunsite.auc.dk \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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).