coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-8.12.178-df9cd on Solaris 10


From: Bruno Haible
Subject: Re: coreutils-8.12.178-df9cd on Solaris 10
Date: Fri, 2 Sep 2011 20:13:41 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

Jim Meyering wrote:
> >> You can probably find out by rerunning that test with e.g.,
> >>
> >>   SHELL=bash make check -C tests TESTS=cp/fail-perm VERBOSE=yes
> > ...
> > This is on an NFS volume.
> >
> If you rerun the test with the following patch to init.sh,
> maybe it'll show us something interesting.
> diff --git a/tests/init.sh b/tests/init.sh
> index 12b3ca3..3bf5286 100644
> --- a/tests/init.sh
> +++ b/tests/init.sh
> @@ -240,7 +240,7 @@ remove_tmp_ ()
>    cleanup_
>    # cd out of the directory we're about to remove
>    cd "$initial_cwd_" || cd / || cd /tmp
> -  chmod -R u+rwx "$test_dir_"
> +  chmod --verbose -R u+rwx "$test_dir_"
>    # If removal fails and exit status was to be 0, then change it to 1.
>    rm -rf "$test_dir_" || { test $__st = 0 && __st=1; }
>    exit $__st

It still fails and shows:

+ cd /home/haible/multibuild-1210/solaris10-cc/coreutils-8.12.178-df9cd/tests
+ chmod --verbose -R u+rwx 
/home/haible/multibuild-1210/solaris10-cc/coreutils-8.12.178-df9cd/tests/gt-fail-perm.O6Dm
mode of 
`/home/haible/multibuild-1210/solaris10-cc/coreutils-8.12.178-df9cd/tests/gt-fail-perm.O6Dm'
 retained as 0700 (rwx------)
mode of 
`/home/haible/multibuild-1210/solaris10-cc/coreutils-8.12.178-df9cd/tests/gt-fail-perm.O6Dm/out'
 changed from 0664 (rw-rw-r--) to 0764 (rwxrw-r--)
mode of 
`/home/haible/multibuild-1210/solaris10-cc/coreutils-8.12.178-df9cd/tests/gt-fail-perm.O6Dm/D'
 retained as 0700 (rwx------)
mode of 
`/home/haible/multibuild-1210/solaris10-cc/coreutils-8.12.178-df9cd/tests/gt-fail-perm.O6Dm/D/a'
 changed from 0000 (---------) to 0700 (rwx------)
mode of 
`/home/haible/multibuild-1210/solaris10-cc/coreutils-8.12.178-df9cd/tests/gt-fail-perm.O6Dm/D/D'
 retained as 0775 (rwxrwxr-x)
mode of 
`/home/haible/multibuild-1210/solaris10-cc/coreutils-8.12.178-df9cd/tests/gt-fail-perm.O6Dm/F'
 changed from 0664 (rw-rw-r--) to 0764 (rwxrw-r--)
neither symbolic link 
`/home/haible/multibuild-1210/solaris10-cc/coreutils-8.12.178-df9cd/tests/gt-fail-perm.O6Dm/symlink'
 nor referent has been changed
mode of 
`/home/haible/multibuild-1210/solaris10-cc/coreutils-8.12.178-df9cd/tests/gt-fail-perm.O6Dm/exp'
 changed from 0664 (rw-rw-r--) to 0764 (rwxrw-r--)
mode of 
`/home/haible/multibuild-1210/solaris10-cc/coreutils-8.12.178-df9cd/tests/gt-fail-perm.O6Dm/DD'
 retained as 0700 (rwx------)
mode of 
`/home/haible/multibuild-1210/solaris10-cc/coreutils-8.12.178-df9cd/tests/gt-fail-perm.O6Dm/DD/D'
 retained as 0775 (rwxrwxr-x)
+ rm -rf 
/home/haible/multibuild-1210/solaris10-cc/coreutils-8.12.178-df9cd/tests/gt-fail-perm.O6Dm
rm: cannot remove 
`/home/haible/multibuild-1210/solaris10-cc/coreutils-8.12.178-df9cd/tests/gt-fail-perm.O6Dm/DD/D':
 Permission denied
+ test 0 = 0
+ __st=1
+ exit 1

> If it doesn't, would you please add a "truss -o /tmp/chmod-log" prefix
> on that same chown command?  Somehow, it appears not to be doing its job.

Find /tmp/chmod-log attached.

Bruno
-- 
In memoriam Robert Mensah <http://en.wikipedia.org/wiki/Robert_Mensah>

Attachment: chmod-log
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]