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

Re: Why isn't "/var/run" drwxrwxrwt ?



In article <[🔎] 873efnedxw.fsf@bittersweet.inetarena.com> you wrote:
>  Why isn't "/var/run" set like "/tmp"?  Shouldn't user-run programs be
>  able to write a pid file there?

No, you don't want users to stop certain daemons from running by putting pid
files in there (sure this isn't likely but it is possible).

If you want to write pid files while not being root, create a subdirectory in
/var/run owned by whatever uid that you're going to be.

-- 
Debian GNU/Linux 1.3 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: