The lesser evil is to start the other daemon as the same user as spamd (assuming that the other daemon does not need yet another set of permissions which can not be solved through eg simple group memberships).
-- Matthias On Mon, Jul 21, 2014 at 11:09 AM, Jan Hejl <[email protected]> wrote: > That's what I plan to do, but i'd like to ask where to start? By modifying > spamd you mean source code modifications? > > Thanks > Jan > > Dne 19.7.2014 15:21, Kevin A. McGrail napsal(a): > > You will need to modify spamd to us 440 and put both users in the same group > is my best guess. > Regards, > KAM > > Jan Hejl <[email protected]> wrote: >> >> Hello everyone, >> >> my spamd creates temp files in /tmp with perm 400, it runs under spamd >> user. I would like to give a access to another deamon running under >> different non-root user to these files. Deamon is called through the >> custom plugin from spamd but it can't access file because of specific >> permissions. Is it possible? >> >> Thanks for help! >> Jan >> >
