[ILUG] umask query

Colm MacCarthaigh colm at stdlib.net
Fri Apr 22 23:43:14 IST 2005


On Fri, Apr 22, 2005 at 11:32:33PM +0100, Sean O Sullivan wrote:
> >It's hardcoded into libc. glibc for example defines the macro
> >DEFFILEMODE. *nix systems never create executable files without
> >an explicit chmod, it's just part of the security model. 
> >
> >It's a *really* bad idea changing this.
> >
> I agree ... however may not have a choice sadly.

I dunno, this is up there with the "I really have no choice but to run
an open relay" line of argument. You want to reduce Linux to a
Windows-like security model. There are always ways to work around things
:)

Can you change how the files are executed?

 I get the feeling that you're trying to allow people to upload some CGI
using mod_dav and have them then be executable. 

-- 
Colm MacCárthaigh                        Public Key: colm+pgp at stdlib.net



More information about the ILUG mailing list