On Sat, Jan 26, 2008 at 08:58:34AM +0100, Jim Meyering wrote:
Please do this as root:
cd coreutils-6.10/src
./id -a
./rm -rf f g
echo a f
./chown +0:+0 f
ls -ld . f
./cp f g
ls -l g
and look at the output.
The final ls should show g with group root.
For some reason
Elias Pipping [EMAIL PROTECTED] wrote:
On Sat, Jan 26, 2008 at 08:58:34AM +0100, Jim Meyering wrote:
Please do this as root:
cd coreutils-6.10/src
./id -a
./rm -rf f g
echo a f
./chown +0:+0 f
ls -ld . f
./cp f g
ls -l g
and look at the output.
The final ls should
On Sat, Jan 26, 2008 at 02:19:12PM +0100, Andreas Schwab wrote:
Elias Pipping [EMAIL PROTECTED] writes:
Sorry, but there's no strace on darwin9.
The darwin equivalent appears to be ktrace.
Indeed. While ktrace came with darwin8, it no longer comes with darwin9,
though.
-- Elias
On Sat, Jan 26, 2008 at 01:54:58PM +0100, Jim Meyering wrote:
Elias Pipping [EMAIL PROTECTED] wrote:
# ls -ld . f
drwxr-xr-x 3 pipping staff 11186 Jan 26 12:29 .
-rw-r--r-- 1 root wheel 2 Jan 26 12:29 f
# ./cp f g
# ls -l g
-rw-r--r-- 1 root staff 2 Jan
Elias Pipping [EMAIL PROTECTED] wrote:
On Sat, Jan 26, 2008 at 01:54:58PM +0100, Jim Meyering wrote:
Elias Pipping [EMAIL PROTECTED] wrote:
# ls -ld . f
drwxr-xr-x 3 pipping staff 11186 Jan 26 12:29 .
-rw-r--r-- 1 root wheel 2 Jan 26 12:29 f
# ./cp f g
# ls -l
On Sat, Jan 26, 2008 at 03:36:23PM +0100, Jim Meyering wrote:
Please see if this makes the test pass:
Avoid cp/preserve-gid test failure on Mac OS 10.5.1 (Darwin 9.1)
* tests/cp/preserve-gid: Set group as well as owner on ..
Reported by Elias Pipping.
diff --git
Elias Pipping [EMAIL PROTECTED] wrote:
On Sat, Jan 26, 2008 at 03:36:23PM +0100, Jim Meyering wrote:
Please see if this makes the test pass:
Avoid cp/preserve-gid test failure on Mac OS 10.5.1 (Darwin 9.1)
* tests/cp/preserve-gid: Set group as well as owner on ..
Reported by
On Sat, Jan 26, 2008 at 05:34:17PM +0100, Jim Meyering wrote:
Here's an additional patch that should get us past the latest failure.
Unfortunately, it doesn't.
diff --git a/tests/cp/preserve-gid b/tests/cp/preserve-gid
index 9537dc0..15bb51c 100755
--- a/tests/cp/preserve-gid
+++
Elias Pipping [EMAIL PROTECTED] wrote:
On Sat, Jan 26, 2008 at 05:34:17PM +0100, Jim Meyering wrote:
Here's an additional patch that should get us past the latest failure.
Unfortunately, it doesn't.
...
++ stat -c '%u %g' b
+ s='1000 0'
+ test 'x1000 0' '!=' 'x1000 1000'
+ test
On Sat, Jan 26, 2008 at 07:06:58PM +0100, Jim Meyering wrote:
Here's a better one:
More progress! (still fails)
* tests/cp/preserve-gid: accommodate Darwin9 oddity.
diff --git a/tests/cp/preserve-gid b/tests/cp/preserve-gid
index 9537dc0..82ee861 100755
--- a/tests/cp/preserve-gid
+++
Elias Pipping [EMAIL PROTECTED] wrote:
On Wed, Jan 23, 2008 at 01:40:22PM +0100, Jim Meyering wrote:
If that's the problem, here's an untested fix:
Unfortunately, that doesn't seem to help.
Thanks for checking.
That suggests there's a more fundamental problem.
Please do this as root:
cd
On Mon, Jan 21, 2008 at 08:46:30AM +0100, Jim Meyering wrote:
Elias Pipping [EMAIL PROTECTED] wrote:
as for the check-root tests:
this one now passes:
special-bits
these fail:
rm/fail-2eperm
cp/preserve-gid
touch/now-owned-by-other
It looks like
Elias Pipping [EMAIL PROTECTED] wrote:
...
D'oh -- should've read that. So, with 6.10 and --disable-acl,
all of the non-root tests pass and a single root-only test fails:
% tar xf coreutils-6.10.tar.gz
% cd coreutils-6.10
% ./configure --disable-acl
% make -j3
% sudo
On Wed, Jan 23, 2008 at 01:40:22PM +0100, Jim Meyering wrote:
If that's the problem, here's an untested fix:
Unfortunately, that doesn't seem to help.
% tar xf coreutils-6.10.tar.gz
% cd coreutils-6.10
% cat ~/foo.patch
diff --git a/tests/cp/preserve-gid b/tests/cp/preserve-gid
Elias Pipping [EMAIL PROTECTED] wrote:
On Thu, Jan 17, 2008 at 03:34:20PM +0100, Jim Meyering wrote:
I've built a new snapshot:
http://meyering.net/cu/coreutils-ss.tar.gz
http://meyering.net/cu/coreutils-ss.tar.lzma
http://meyering.net/cu/coreutils-ss.tar.gz.sig
Elias Pipping [EMAIL PROTECTED] wrote:
on bsd-like systems(*), `./configure` fails with v6.9.92. The error is:
checking for library containing crypt... none required
sed: 1: /^gl_INCLUDE_EXCLUDE_PR ...: bad flag in substitute command: '}'
configure: error: internal error:
Elias Pipping [EMAIL PROTECTED] wrote:
Indeed -- all of the above work now. I grew a little more adventurous
and did a `make -j3 check`. tty-eof appears to be moody:
% env VERBOSE=yes make -j3 check -C tests/misc TESTS=tty-eof
[ works fives times in a row ]
% env VERBOSE=yes make -j3
On Thu, Jan 17, 2008 at 03:34:20PM +0100, Jim Meyering wrote:
I've built a new snapshot:
http://meyering.net/cu/coreutils-ss.tar.gz
http://meyering.net/cu/coreutils-ss.tar.lzma
http://meyering.net/cu/coreutils-ss.tar.gz.sig
http://meyering.net/cu/coreutils-ss.tar.lzma.sig
and
Elias Pipping [EMAIL PROTECTED] wrote:
on bsd-like systems(*), `./configure` fails with v6.9.92. The error is:
checking for library containing crypt... none required
sed: 1: /^gl_INCLUDE_EXCLUDE_PR ...: bad flag in substitute command: '}'
configure: error: internal error:
Hi Jim,
Jim Meyering jim at meyering.net writes:
+t=`sed -n '/^g''l_INCLUDE_EXCLUDE_PROG(.* [\[\(.*\)\]])/{s//\1/;s/,/ /gp
+}' $c`
That isn't POSIX compatible yet. You need newlines right after '{'
and you cannot use ';' inside '{...}':
t=`sed -n '/^g''l_INCLUDE_EXCLUDE_PROG(.*
[cc'ing bug-gnulib, since the test-*frexpl failures come from gnulib]
Elias Pipping [EMAIL PROTECTED] wrote:
With it, v6.9.92 compiles on the aforementioned platforms -- while the
test suite passes on openbsd, though, on darwin 15 tests fail:
...
I've attached the verbose output.
Thank you
Ralf Wildenhues [EMAIL PROTECTED] wrote:
Hi Jim,
Jim Meyering jim at meyering.net writes:
+t=`sed -n '/^g''l_INCLUDE_EXCLUDE_PROG(.* [\[\(.*\)\]])/{s//\1/;s/,/ /gp
+}' $c`
That isn't POSIX compatible yet. You need newlines right after '{'
and you cannot use ';' inside '{...}':
t=`sed
Hi Jim,
* Jim Meyering wrote on Sun, Jan 13, 2008 at 02:57:43PM CET:
Ralf Wildenhues [EMAIL PROTECTED] wrote:
Jim Meyering jim at meyering.net writes:
+t=`sed -n '/^g''l_INCLUDE_EXCLUDE_PROG(.* [\[\(.*\)\]])/{s//\1/;s/,/ /gp
+}' $c`
That isn't POSIX compatible yet. You need newlines
On Sun, Jan 13, 2008 at 02:20:27PM +0100, Jim Meyering wrote:
FAIL: help-version.log
FAIL: parent-perm.log
FAIL: file-perm-race.log
FAIL: parent-perm-race.log
From your log:
+ mkfifo mode/fifo
+ cp_pid=74839
+ cp --preserve=mode -R --copy-contents --parents
Hi,
on bsd-like systems(*), `./configure` fails with v6.9.92. The error is:
checking for library containing crypt... none required
sed: 1: /^gl_INCLUDE_EXCLUDE_PR ...: bad flag in substitute command: '}'
configure: error: internal error: g'l_INCLUDE_EXCLUDE_PROG's 2nd arg, ,
25 matches
Mail list logo