This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFC: Check permissions of .gdbinit files
- From: Christopher Faylor <me at cgf dot cx>
- To: gdb-patches at sourceware dot org
- Date: Thu, 2 Jun 2005 00:26:10 -0400
- Subject: Re: RFC: Check permissions of .gdbinit files
- References: <20050530185201.GA29332@nevyn.them.org> <u64x08jma.fsf@gnu.org> <20050530224200.GB2727@nevyn.them.org> <uzmuc6j8k.fsf@gnu.org> <20050531175433.GA7386@trixie.casa.cgf.cx> <umzqb9kha.fsf@gnu.org> <20050531222233.GF9864@trixie.casa.cgf.cx> <uvf4xbelv.fsf@gnu.org>
On Thu, Jun 02, 2005 at 06:51:40AM +0300, Eli Zaretskii wrote:
>> Date: Tue, 31 May 2005 18:22:33 -0400
>> From: Christopher Faylor <me@cgf.cx>
>>
>> >>>In any case, the other issue still remains: if they do have getuid and
>> >>>S_IWOTH, non-readonly files will be reported world-writable. So I'd
>> >>>suggest to either disable this feature entirely on Windows platforms,
>> >>>or write a Windows specific code that uses the Win32 API to get file
>> >>>ownership (GetSecurityInfo or some such).
>> >>
>> >>Did anyone read Ulrich Drepper's recent rant about this kind of thing?
>> >>:-)
>> >
>> >I don't think I've read it. I'd appreciate a URL.
>>
>> http://www.livejournal.com/users/udrepper/7326.html
>
>Thanks.
>
>This isn't new to me: I remember sparring with Ulrich about these
>issues as far as 7 years ago (which didn't prevent us from drinking
>beer together when we met ;-).
Oh, yes. I've had a similar (probably more abbreviated) discussion
with him as well.
In an odd sort of way, I sort of agree with him.
cgf