]> git.ipfire.org Git - thirdparty/squid.git/commit
cache.log was being created as root, then would later fail to open
authorwessels <>
Thu, 12 Apr 2007 04:57:34 +0000 (04:57 +0000)
committerwessels <>
Thu, 12 Apr 2007 04:57:34 +0000 (04:57 +0000)
commit9c46ca9724eef780af9e6cd2994efbcaeddaba06
tree6805b0d6a7b1fd27d81e522f7fd883c3f58887c0
parent5f2d056f8c5fa6fd2f5ba2e3045567c52abd52f7
cache.log was being created as root, then would later fail to open
with 'Permission denied'.  We were calling leave_suid() after parsing
the config, but before calling configDoConfigure().

We must call configDoConfigure() before leave_suid() because
configDoConfigure() is where we turn username strings into
uid values.
src/cache_cf.cc
src/debug.cc