Mikhail T.
2012-Dec-23 15:51 UTC
What is "negative group permissions"? (Re: narawntapu security run output)
On 23.12.2012 03:05, Charlie Root wrote:> Checking negative group permissions: > 8903027 -rw--w-r-- 1 mi www 794277 Oct 23 07:47:45 2007 /home/mi/public_html/syb/order/download.logHello! The above started to appear in the daily security run output after I upgraded to 9.1. I don't understand, what this check is doing or why the above file is reported -- what's abnormal (warning-worthy) about allowing the web-server to write to, but not read a file? I did it on purpose to keep all files associated with a project together, but without inadvertently serving some of them... The actual script generating this warning (110.neggrpperm) was added in 2010 and meant to be off by default. There is no explicit mention of the knob daily_status_security_neggrpperm_enable in the log for etc/defaults/periodic.conf... I understand, I can explicitly disable it, but I'm curious... Whether it should run by default or not, what is the purpose of it? Thanks, -mi
Barney Wolff
2012-Dec-23 16:23 UTC
What is "negative group permissions"? (Re: narawntapu security run output)
The r for other means that you have not accomplished your goal. It makes no sense to have group with less permission that other, so the script is warning of a misconfiguration. On Sun, Dec 23, 2012 at 10:51:24AM -0500, Mikhail T. wrote:> On 23.12.2012 03:05, Charlie Root wrote: > > Checking negative group permissions: > > 8903027 -rw--w-r-- 1 mi www 794277 Oct 23 07:47:45 2007 /home/mi/public_html/syb/order/download.log > Hello! > > The above started to appear in the daily security run output after I > upgraded to 9.1. I don't understand, what this check is doing or why the > above file is reported -- what's abnormal (warning-worthy) about > allowing the web-server to write to, but not read a file? I did it on > purpose to keep all files associated with a project together, but > without inadvertently serving some of them...