[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

/var/run write permissions (was: New user for new package)



Again here.

In my last message:

> Finally, i will use the start-stop-daemon chuid option.

But then, the file /var/run/daemonname.pid can not be created from the own
daemon. /var/run hasn't write permisions for the user used in chuid.

I can do:
"touch /var/run/daemonname.pid ; chown daemonuser /var/run/daemonname.pid"
from inside the init.d script that starts the daemon, but that do not look
good.

Any suggestion?

Thanks a lot.

-- 
Andres Seco Hernandez, MCP ID 445900
AndresSH@ctv.es - http://www.ctv.es/USERS/andressh
GnuPG public information:      pub  1024D/3A48C934
E61C 08A9 EBC8 12E4 F363  E359 EDAC BE0B 3A48 C934
--------------------------------------------------
Alamin GSM SMS Gateway - http://alamin.sourceforge.net
Debian GNU/Linux       - http://www.debian.org

Attachment: pgpIfK70fo6Nk.pgp
Description: PGP signature


Reply to: