Sam Sirlin <address@hidden> writes:
> + mkdir -p sub1/d
> + cd sub1/d
> + chmod a-rx ..
> + chmod a-r .
> chmod: changing permissions of `.': Permission denied
I can't reproduce this problem on my Solaris 9 host, where coreutils
6.7 was compiled with GCC 4.1.1.
What filesystem are you using? Is it local or NFS?
Are you running as root?
Can you use 'truss' to see what's going on?
Something like this:
PATH=/wherever/coreutils-6.7/src:$PATH
export PATH
mkdir -p sub1/d
cd sub1/d
chmod a-rx ..
truss chmod a-r .
and then see what the last few lines of 'truss' have to say.