Date: Wed, 8 May 2002 07:47:44 -0700 (PDT) From: Jacques Vidrine <nectar@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc rc Message-ID: <200205081447.g48EljN12761@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
nectar 2002/05/08 07:47:44 PDT
Modified files:
etc rc
Log:
It is dangerous to use globbing like so in startup scripts:
rm -f /tmp/.X11-unix/*
If /tmp/.X11-unix didn't already exist, a user could symlink it to a directory
with files that he wants to wipe out, and wait for next reboot.
Reported by: lumpy <lumpy@the.whole.net>
Revision Changes Path
1.312 +4 -2 src/etc/rc
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205081447.g48EljN12761>
