It seems that doing
su -c command jive
does not drop root privileges.
su -c “touch /root/test” jive
creates /root/test, even though jive has no write permission for /root.
This means that wildfire is not really dropping privileges. When I used one of Dan Bernstein’‘s tools (setuidgid jive touch /root/test) I’‘m told that I don’'t have permission, which is what I expect. When I do
setuidgid jive ./wildfire start
wildfire starts, but does not function correctly (I can’'t connect).
Any ideas about how I can drop privileges and still work correctly?