From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 10:03:22 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEBEF106564A for ; Thu, 13 Jan 2011 10:03:22 +0000 (UTC) (envelope-from swegill@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6C21D8FC0C for ; Thu, 13 Jan 2011 10:03:22 +0000 (UTC) Received: by qyk36 with SMTP id 36so1514066qyk.13 for ; Thu, 13 Jan 2011 02:03:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=kQ4hYW3JV6NMattV0rknGbQOccVP1jdS4G4+/ITSVj8=; b=KGoR6OcoOIp4pD4yvXxWrSlyst8LTfWumbLsBq0QMnrAUH7hhhrvlEeg2HDQMawUxc A5e8fg/f1FNecWlwAIJZUVBcMvt/Z8Qi2VAd9/L1wgv9hLMb2uFn2vxpkTtJ0Mui/ywT Q8ea0HKKwnQ4euY/TD1KfDMgaMNLgl/b1t2P8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=m8kEBTWPtUhVDl3Fwj3/bpLW7I4fbqHT0zXVslBsgmGDHEzz17cPDvd5zmN3Xd933B FkTX7aP/WD3Y+vR9H+TCPyQfQ5y5O/jdS9CKLUhxakgEKKeJQ/qoQ54nxRXoQfvjo06E +OLY8eohbrgIrsqI1kp61ATJ8Vkf8ZHHGlUWQ= MIME-Version: 1.0 Received: by 10.229.81.6 with SMTP id v6mr1829735qck.223.1294913001486; Thu, 13 Jan 2011 02:03:21 -0800 (PST) Received: by 10.229.127.99 with HTTP; Thu, 13 Jan 2011 02:03:21 -0800 (PST) In-Reply-To: <000301cbb307$49788810$dc699830$@com> References: <000301cbb307$49788810$dc699830$@com> Date: Thu, 13 Jan 2011 11:03:21 +0100 Message-ID: From: Swe Gill To: Pegasus Mc Cleaft , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: httpd-modsec2_debug.log: Operation not permitted X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2011 10:03:22 -0000 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 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