misc/170320: [PATCH] usr.sbin/adduser/rmuser.sh It remains without
erasing file `.*.cache'
Takefu
takefu at airport.fm
Thu Aug 2 05:30:12 UTC 2012
>Number: 170320
>Category: misc
>Synopsis: [PATCH] usr.sbin/adduser/rmuser.sh It remains without erasing file `.*.cache'
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 02 05:30:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Takefu
>Release: FreeBSD 8.2-RELEASE-p9
>Organization:
FOX Amateur Radio Club
>Environment:
>Description:
`.*.cache' is made when setting it with MUA in the mail spool of preserve.
It was deleted to remain without erasing a file concerned when rmuser(1) was executed.
This is a specific phenomenon generated when mail/qpopper of ports is used.
>How-To-Repeat:
>Fix:
--- /usr/src/usr.sbin/adduser/rmuser.sh 2011-11-11 13:20:22.000000000 +0900
+++ rmuser 2012-08-02 11:14:38.000000000 +0900
@@ -91,6 +91,12 @@
verbose && echo -n " ${MAILSPOOL}/.${login}.pop" ||
echo -n " pop3"
rm ${MAILSPOOL}/.${login}.pop
+ if [ -f ${MAILSPOOL}/.${login}.cache ]; then
+ verbose && echo '.'
+ verbose && echo -n " ${MAILSPOOL}/.${login}.cache" ||
+ echo -n " pop3"
+ rm ${MAILSPOOL}/.${login}.cache
+ fi
fi
verbose && echo '.'
}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list