tags 307855 + unreproducible tags 307855 - patch severity 307855 normal thanks
On Thu, 05 May 2005, Michael wrote: > When I run tor I get the following warning: > May 05 14:07:02.599 [warn] write_pidfile(): Unable to open > /var/run/tor/tor.pid for writing: Permission denied > > and I can't use /etc/init.d/tor to stop the service > > If I `chown -R debian-tor:debian-tor /var/run/tor` the pid file is > created and the init.d script works just fine. The debian package does chown var/run/tor, so I guess you did something to screw up the permissions in the first place. [EMAIL PROTECTED]:~$ grep -A4 run /var/lib/dpkg/info/tor.postinst for i in lib log run; do chown -R debian-tor:debian-tor /var/$i/tor chmod -R 700 /var/$i/tor find /var/$i/tor -type f -exec chmod 600 '{}' ';' done Do you have any idea what you did to make var/run/tor or var/run/tor/tor.pid owned by root? -- PGP signed and encrypted | .''`. ** Debian GNU/Linux ** messages preferred. | : :' : The universal | `. `' Operating System http://www.palfrader.org/ | `- http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]