[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Darwin - chmod broken?
From: |
Paul Eggert |
Subject: |
Re: Darwin - chmod broken? |
Date: |
Tue, 26 Sep 2006 23:02:42 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
mwoehlke <address@hidden> writes:
> You are looking for this, yes?
Yes, that sort of thing.
> 10487 chmod CALL chmod(0x2800600,0x1a4)
> 10487 chmod NAMI "."
> 10487 chmod RET chmod 0
> 10487 chmod CALL chmod(0x2800600,0x1a4)
> 10487 chmod NAMI "b"
> 10487 chmod RET chmod 0
> 10487 chmod CALL close(0x1)
> 10487 chmod RET close 0
> 10487 chmod CALL exit(0)
>
> Does that look right?
No. It looks like your kernel is busted. The first chmod sets
the permissions of "." to 644, i.e., nobody can search it.
But the second chmod searches "." successfully.
Are you running this test as root?
> If I am reading 'man 2 chmod' right, the second chmod() is expected
> to fail with EACCES?
Yes, that's right. It looks like your operating system is buggy.
Can you reproduce this bug with /bin/chmod?
- Re: What to do with 'make check'?, (continued)
- Re: What to do with 'make check'?, Paul Eggert, 2006/09/26
- Re: What to do with 'make check'?, mwoehlke, 2006/09/26
- Re: What to do with 'make check'?, Paul Eggert, 2006/09/26
- Re: What to do with 'make check'?, mwoehlke, 2006/09/26
- Re: What to do with 'make check'?, Paul Eggert, 2006/09/26
- Dawrin- why does pinky SIGBUS (was: What to do with 'make check'?), mwoehlke, 2006/09/26
- Re: Dawrin- why does pinky SIGBUS, Paul Eggert, 2006/09/27
- Re: Dawrin- why does pinky SIGBUS, mwoehlke, 2006/09/27
- Re: Dawrin- why does pinky SIGBUS, Paul Eggert, 2006/09/27
- Darwin - chmod broken? (was: What to do with 'make check'?), mwoehlke, 2006/09/26
- Re: Darwin - chmod broken?,
Paul Eggert <=
- Re: Darwin - chmod broken?, mwoehlke, 2006/09/27
- Re: Darwin - chmod broken?, Jim Meyering, 2006/09/27