chmod /var/run safe ?
Albert Shih
Albert.Shih at obspm.fr
Wed Apr 6 13:59:26 UTC 2016
Hi,
I've some issue to allow some of my user to restart tomcat7.
All tomcat7 file owned by let's say tomcat:tomcat, the user can do a sudo
tomcat.
But he cannot restart tomcat7 because
/var/run
are owned by root and the right are 755 so tomcat cannot put the
/var/run/tomcat7.pid
Of course I can change the location of this file but for that I need to
patch
/usr/local/etc/rc.d/tomcat7
and that's mean each time this script are update, I need to refix it.
So is it safe to do
chmod 1777 /var/run
or they are other solution ?
regards
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: jas at obspm.fr
Heure local/Local time:
mer 6 avr 2016 15:55:45 CEST
More information about the freebsd-questions
mailing list