Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: change group explicitly
- X-seq: zsh-workers 9235
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: change group explicitly
- Date: 06 Jan 2000 17:38:52 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Inheriting directory group when creating files are standard behaviour
in BSD. So I think test suite should call chgrp explicitly.
Index: Test/07cond.ztst
===================================================================
RCS file: /projects/zsh/zsh/Test/07cond.ztst,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 07cond.ztst
--- Test/07cond.ztst 1999/12/26 22:57:23 1.1.1.3
+++ Test/07cond.ztst 2000/01/06 08:29:07
@@ -11,6 +11,7 @@
touch unmodified
touch zerolength
+ chgrp $EGID zerolength
print 'Garbuglio' >nonzerolength
mkdir modish
@@ -97,8 +98,6 @@
[[ -O zerolength ]]
0:-O cond
-# there may be strange cases where this doesn't work, e.g.
-# inherited funny groups for directories via setgid.
[[ -G zerolength ]]
0:-G cond
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author