Needs to be fixed in Gutsy before an SRU is proposed.  The cleanest
approach I've seen for this is to do something like:

+    if [ ! -d ${RUNDIR} ] ; then
+      install -o ${USER} -g ${GROUP} -m 755 -d ${RUNDIR} || return 2
+    fi
+

This checks first if the directory exists (you don't want to wipe it out
if for some reason more than one instance of the program is run) and
then creates it and changes permissions all in one step.  Adjust
variable names to suite.

-- 
/var/run/popfile does not get re-created after reboot
https://bugs.launchpad.net/bugs/126894
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to