[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chmod set-gid/set-uid behavior change issues
From: |
Bob Proulx |
Subject: |
Re: chmod set-gid/set-uid behavior change issues |
Date: |
Thu, 27 Jul 2006 10:11:48 -0600 |
User-agent: |
Mutt/1.5.9i |
> ** Changes in behavior
The tests/mkdir/special-1 test also now fails.
Summary: drwxr-s-wT != drwxr-x-wT
Proposed change:
-set_mode_string=u=rwx,g=rx,o=w,go+t
+set_mode_string=u=rwx,g=rx,o=w,go+t,ug-s
Drift: What is the meaning of g+t in this context?
Bob
env VERBOSE=yes make check TESTS=special-1
make check-TESTS
make[1]: Entering directory
`/usr/local/build/coreutils/amd64-gnu-linux-coreutils/junk/tests/mkdir'
+ mkdir --version
mkdir (GNU coreutils) 6.0-cvs
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by David MacKenzie.
+ tmp=mkdir-sp-26540
+ trap 'status=$?; rm -rf $tmp && exit $status' 0
+ trap 'exit $?' 1 2 13 15
+ set_mode_string=u=rwx,g=rx,o=w,go+t
+ output_mode_string=drwxr-x-wT
+ mkdir -mu=rwx,g=rx,o=w,go+t mkdir-sp-26540
+ test -d mkdir-sp-26540
++ ls -ld mkdir-sp-26540
+ set -- drwxr-s-wT 2 bob staff 48 2006-07-27 10:02 mkdir-sp-26540
+ case "$1" in
+ fail=1
+ rmdir mkdir-sp-26540
+ tmp2=mkdir-sp-26540/sub
+ mkdir -mu=rwx,g=rx,o=w,go+t mkdir-sp-26540/sub
+ mkdir --parents -mu=rwx,g=rx,o=w,go+t mkdir-sp-26540/sub
+ test -d mkdir-sp-26540/sub
++ ls -ld mkdir-sp-26540/sub
+ set -- drwxr-s-wT 2 bob staff 48 2006-07-27 10:02 mkdir-sp-26540/sub
+ case "$1" in
+ fail=1
+ exit 1
+ status=1
+ rm -rf mkdir-sp-26540
+ exit 1
FAIL: special-1
======================================
1 of 1 tests failed
Please report to address@hidden
======================================
- Re: chmod set-gid/set-uid behavior change issues, (continued)
- Re: chmod set-gid/set-uid behavior change issues, Paul Eggert, 2006/07/27
- Re: chmod set-gid/set-uid behavior change issues, Paul Eggert, 2006/07/27
- Re: chmod set-gid/set-uid behavior change issues, Jim Meyering, 2006/07/27
- Re: chmod set-gid/set-uid behavior change issues, Paul Eggert, 2006/07/28
- Re: chmod set-gid/set-uid behavior change issues, Jim Meyering, 2006/07/28
- Comment fix in modechange.h, Paul Eggert, 2006/07/28
Re: chmod set-gid/set-uid behavior change issues, Bob Proulx, 2006/07/27
Re: chmod set-gid/set-uid behavior change issues, Bob Proulx, 2006/07/27
Re: chmod set-gid/set-uid behavior change issues,
Bob Proulx <=