[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
special-bits (Re: coreutils-6.9.90 fail 1/84 (help-version) on i386-appl
From: |
Bob Proulx |
Subject: |
special-bits (Re: coreutils-6.9.90 fail 1/84 (help-version) on i386-apple-darwin9.1.0) |
Date: |
Mon, 3 Dec 2007 20:26:21 -0700 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Elias Pipping wrote:
Here is the failure, the "good parts" version:
> * special-bits
> ++ : nobody
> +++ id -u nobody
> ++ coreutils_non_root_uid=4294967294
> + touch a b c
> + chmod u+sx,go= a
> + chmod u=rwx,g=sx,o= b
> + chmod a=r,ug+sx c
> + chown nobody .
> + chmod u=rwx,g=rx,o=rx .
> + fail=0
> + cp -p a a2
> cp: `a': No such file or directory
> + fail=1
The touch and chmod created a file and set the mode bits but then cp
is complaining that it does not exist. Can you run this set of
commands?
touch a
chmod u+sx,go= a
chown nobody .
chmod u=rwx,g=rx,o=rx .
cp -p a a2
ls -ld . a
That should fail the same as the test case. If it does then the ls
should report what was actually created and the permission of the
directory. I expect to see something like this:
drwxr-xr-x 2 nobody root 4096 2007-12-03 20:21 .
-rws------ 1 root root 0 2007-12-03 20:21 a
In which case the "No such file or directory" error is very strange.
The touch and chmod succeeded operating on the file but the cp failed
to open it?
Bob