|
From: Galen J. <gjo...@tr...> - 2006-03-01 21:06:38
|
Galen Johnson wrote: > Hello, > > I have a question regarding the cron module's run now option. When > you select run now, what exactly does it do? Does it spawn the job as > the user selected with only their primary group? I only ask because > we have a job set up that writes a file to a directory that has group > write privs for the users...however, this group is set up as one of > the user's secondary groups. When you attempt to run the job via > webmin's run now button, it fails to write the file (yet it works just > fine from cron) giving a permission denied error. Now, if I change > the directory's group to the user's primary group it works as > expected. Am I missing a conguration option somewhere? Can the "Run > Now" button be tweaked in some fashion to accommodate this if it's not > currently possible? I had assumed that when webmin ran a job as > another user it did the equivalent of 'su'. Is this not the case? > > Any insight would be appreciated. > > =G= > Anyone have any ideas on this one? I've noticed that some of the other modules key on Primary group only and it would be helpful if webmin could parse secondaries as well (I'm pretty sure there are some modules that do). |