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 <k...@mthelicon.com>wrote: > >-----Original Message----- > >From: owner-freebsd-questi...@freebsd.org > [mailto:owner-freebsd-questi...@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 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"