[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Lessons from ILOVEYOU - Kmail security?
From: Stephan Kulow <coolo () caldera ! de>
Date: 2000-05-24 6:42:10
[Download RAW message or body]
Carsten Pfeiffer wrote:
>
> On Wed, May 24, 2000 at 12:22:31AM +0200, Michael Matz wrote:
>
> Hi,
>
> > You can't have +x in any umask. It is used to filter _out_ bits of the
> > filemode (resulting mode=(requested mode & ~umask)). So you can only
> > delete bits which were requested, but you can't add bits.
>
> ok, so umask = 000 would make +x possible. I just tested it, open(2)ing
> and closing a file, without setting any permission. It gets the funny
> permission --wSrw---x.
>
Yes, because you have to pass permissions otherwise you get just the random
data on the stack when you call :)
Remember this is C and not C++
Greetings, Stephan
--
Programmers, heed this: If someone starts asking you about
agricultural genomes, it's likely time to get a handler.
zdnet.com about Torvalds
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic