[pmwiki-users] umask'ing wiki.d
robin at kallisti.net.nz
Wed Feb 2 22:41:05 CST 2005
On Thursday 03 February 2005 06:10, Patrick R. Michaud wrote:
> I think it must be something else, or at least more subtle than this.
> The umask setting is a per-process setting, thus it's not likely that
> one PHP script can directly affect the settings of *all* PHP scripts.
> At best it could only do so indirectly -- *all* of the following
> would have to be true:
> - PHP runs as an apache filter
> - An apache process handling a request run the script (PmWiki)
> that sets umask
> - That same apache process is then re-used for another PHP script
> - Neither PHP nor Apache reset the process' umask to a standard
> default value
Well, I have 'n' apache processes running, it is highly likely that the same
one will get reused. Aside from the last one (which I have no idea if it's
the case or not), all of these seem fairly common. (a filter is just the
'normal' way of running it, right?). Anyway, I fixed the problem in my other
script by setting the umask to what it needs to be there, so I'm pretty sure
this was the issue.
Robin <robin at kallisti.net.nz> JabberID: <eythian at jabber.org>
Hostes alienigeni me abduxerunt. Qui annus est?
PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : /pipermail/pmwiki-users/attachments/20050203/284eaacc/attachment.bin
More information about the pmwiki-users