Re: protect apache to stop work if logdir is missing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/9/19 12:13 PM, Anton Gorlov wrote:
> 09.09.2019 19:07, @lbutlr пишет:
>> On 9 Sep 2019, at 09:57, Anton Gorlov <stalker@xxxxxxxx> wrote:
>>> I need the web server to continue working if the user has deleted the log directory.
>> I would solve this by preventing the user from deleting the directory or recreating it on deletion, not by patching the source code.
>>
>>
> unfortunately I can’t prevent users from deleting directories

Wait.  You can't protect directories from your users but you can
manually modify core programs that run on the server?  What information
is missing here?

Hint: The log directories don't need to be in the user's home folder.
You can put them in a protected area and just symlink to them.  That way
the user can blow away his own access to his logs but not the logs
themselves.

-- 
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:darcy@xxxxxxx
VoIP: sip:darcy@xxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux