https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7138

            Bug ID: 7138
           Summary: sa-compile does not delete temp files
           Product: Spamassassin
           Version: 3.4.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: sa-compile
          Assignee: [email protected]
          Reporter: [email protected]

i happened to notice a bunch of old files in /tmp/, related to spamassassin. 
after a bit of testing, it looks like sa-compile isn't cleaning up after
itself.

ls -alH /tmp/
total 44
drwxrwxrwt  2 root root 36864 Feb  3 17:18 .
drwxr-xr-x 22 root root  4096 Dec 25 00:34 ..

sa-compile --quiet

l /tmp
total 60K
-rw------- 1 root root  131 Feb  4 09:09 .spamassassin315050WnT59tmp
-rw------- 1 root root 2.7K Feb  4 09:10 .spamassassin31505283bEDtmp
-rw------- 1 root root 1.3K Feb  4 09:09 .spamassassin31505arXK9ytmp
-rw------- 1 root root  528 Feb  4 09:09 .spamassassin31505aZnGbDtmp
-rw------- 1 root root 1.4K Feb  4 09:09 .spamassassin31505CzdUbftmp
-rw------- 1 root root  839 Feb  4 09:09 .spamassassin31505DPLUxbtmp
-rw------- 1 root root 3.1K Feb  4 09:10 .spamassassin31505dSWwz5tmp
-rw------- 1 root root  341 Feb  4 09:10 .spamassassin31505foYv8Ptmp
-rw------- 1 root root   97 Feb  4 09:09 .spamassassin31505iM2hTCtmp
-rw------- 1 root root  715 Feb  4 09:09 .spamassassin31505jYeOoltmp
-rw------- 1 root root 2.6K Feb  4 09:09 .spamassassin31505mpa4T2tmp
-rw------- 1 root root   45 Feb  4 09:09 .spamassassin31505RfvOddtmp
-rw------- 1 root root 2.8K Feb  4 09:10 .spamassassin31505TZTv3Ntmp
-rw------- 1 root root  124 Feb  4 09:09 .spamassassin31505uJAibhtmp
-rw------- 1 root root 2.8K Feb  4 09:10 .spamassassin31505vf0B0Wtmp

if i'm correctly interpreting the man page [e.g. --keep-tmps], they should be
deleted.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to