Re: [squid-users] umask with 2.6stable3 on FreeBSD

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 06 Nov 2006 23:47:43 +0100

mån 2006-11-06 klockan 21:53 +0100 skrev Matus UHLAR - fantomas:

> So I can't directly control umask of my squid process :(

Not unless you can control how Squid is started no.

> However I still wonder because the umask of executing process was 0022,
> FreeBSD's rc.subr doesn't seem to contain anything that would set it to
> different value...

All Squid does with the umask is

    umask(mask | orig_umask);

Regards
Henrik

Received on Mon Nov 06 2006 - 15:47:50 MST

This archive was generated by hypermail pre-2.1.9 : Fri Dec 01 2006 - 12:00:03 MST