Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jan 2011 11:03:21 +0100
From:      Swe Gill <swegill@gmail.com>
To:        Pegasus Mc Cleaft <ken@mthelicon.com>, freebsd-questions@freebsd.org
Subject:   Re: httpd-modsec2_debug.log: Operation not permitted
Message-ID:  <AANLkTik%2Bsb96kA=R8Bv5uSSc7ZeC-JSDYJb9%2BQhQ=oE5@mail.gmail.com>
In-Reply-To: <000301cbb307$49788810$dc699830$@com>
References:  <AANLkTimk-EXkEKQ80QVBg5utpbt3SU1LK_eAvSfk6Skt@mail.gmail.com> <000301cbb307$49788810$dc699830$@com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Peg

Thanks for your help.... by applying "ls -lao"..... I get following result

-rw-------   1 root  wheel    sappnd  8307655937 Jan 13 10:45 debug.log
-rw-------   1 root  wheel    sappnd       15415 Oct  2  2009 dmesg.today
-rw-r--r--   1 root  wheel    -                0 Oct  2  2009
httpd-access.log
-rw-r--r--   1 root  wheel    -              271 Oct  2  2009
httpd-error.log
-rw-rw----   1 root  wheel    -      53969161077 Jan 13 10:45
httpd-modsec2_audit.log
-rw-rw----   1 root  wheel    -       3397158201 Jan 13 10:44
httpd-modsec2_debug.log
-rw-r--r--   1 root  wheel    sappnd       28056 Oct  2  2009 lastlog
-rw-r--r--   1 root  wheel    sappnd          66 Oct  1  2009 lpd-errs

I just don't understand why I am unable to remove the files...

Regards

/S

On Thu, Jan 13, 2011 at 10:50 AM, Pegasus Mc Cleaft <ken@mthelicon.com>wrote:

> >-----Original Message-----
> >From: owner-freebsd-questions@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Swe Gill
> >Sent: 13 January 2011 09:02
> >To: freebsd-questions@freebsd.org
> >Subject: rm: httpd-modsec2_debug.log: Operation not permitted
> >
> >
> >fbsdserver# rm httpd-modsec2_debug.log
> >rm: httpd-modsec2_debug.log: Operation not permitted
>
> Usually when I see that "Operation not permitted" message, I start to
> suspect file flags. Try doing a "ls -lao" in that directory and see if the
> log files have the immutable flags set on them. You may wish to take a look
> at chflags(1) for more information.
>
> Peg
>
>
>
>


-- 
With best regards

/S



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik%2Bsb96kA=R8Bv5uSSc7ZeC-JSDYJb9%2BQhQ=oE5>