I'm trying to remove /var/log/rkhunter.log and the swap files associated with it. As a root user, I keep getting permission errors.
I've changed the permissions myself, there are no chflags set.
ls -lo rkhunter*
Code:
-rwxr--r-- 1 root wheel - 5982 Nov 7 03:31 rkhunter.log
-rwxr--r-- 1 root wheel - 17412 Nov 6 23:54 rkhunter.log.old
-rwxr--r-- 1 root wheel - 17412 Nov 6 23:31 rkhunter.lo~
-rwxr--r-- 1 root wheel - 17412 Nov 6 23:37 rkhunter.lz~
-rwxr--r-- 1 root wheel - 16384 Nov 6 23:55 rkhunter.swl
-rwxr--r-- 1 root wheel - 28672 Nov 6 23:55 rkhunter.swm
-rwxr--r-- 1 root wheel - 4096 Nov 6 23:37 rkhunter.swn
-rwxr--r-- 1 root wheel - 4096 Nov 6 23:36 rkhunter.swo
-rwxr--r-- 1 root wheel - 4096 Nov 6 23:19 rkhunter.swp
I've changed the permissions myself, there are no chflags set.
Code:
rm: rkhunter.log: Operation not permitted
rm: rkhunter.log.old: Operation not permitted
rm: rkhunter.lo~: Operation not permitted
rm: rkhunter.lz~: Operation not permitted
rm: rkhunter.swl: Operation not permitted
rm: rkhunter.swm: Operation not permitted
rm: rkhunter.swn: Operation not permitted
rm: rkhunter.swo: Operation not permitted
rm: rkhunter.swp: Operation not permitted