[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
another "id -n" -> plain "id" change
From: |
Paul Eggert |
Subject: |
another "id -n" -> plain "id" change |
Date: |
Tue, 19 Apr 2005 00:09:33 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) |
I installed this:
2005-04-19 Paul Eggert <address@hidden>
* tests/chmod/setgid: Use numeric group ids, not symbolic group names,
since the latter can have shell metacharacters in them (e.g., spaces).
This follows up to the 2005-01-17 patch, which missed this occurrence.
--- setgid.~1.7.~ 2005-04-18 16:27:00 -0700
+++ setgid 2005-04-18 16:34:28 -0700
@@ -36,7 +36,7 @@ chmod g+s d 2> /dev/null ||
# it may happen that when you create a directory, its group isn't one
# to which you belong. When that happens, the above chmod fails. So
# here, upon failure, we try to set the group, then rerun the chmod
command.
- group=${COREUTILS_GROUP-`(id -ng || /usr/xpg4/bin/id -ng) 2>/dev/null`}
+ group=${COREUTILS_GROUP-`(id -g || /usr/xpg4/bin/id -g) 2>/dev/null`}
if test "$group"; then
chgrp "$group" d || framework_failure=1
chmod g+s d || framework_failure=1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- another "id -n" -> plain "id" change,
Paul Eggert <=