[torquedev] Disappearence of /dev/null

Eygene Ryabinkin rea+maui at grid.kiae.ru
Wed Aug 11 00:55:58 MDT 2010


Thu, Aug 05, 2010 at 11:09:21AM -0700, Garrick Staples wrote:
> On Thu, Aug 05, 2010 at 10:02:33PM +0400, Eygene Ryabinkin alleged:
> > Holy truth.  We can just do seteuid/setegid for the time of unlink
> > calls and set our e[ug]id back once they are done -- this will be
> > cheaper and won't leave the possibility for problems: effective
> > user/group IDs are checked for FS permissions, so we should be
> > safe here.
> > 
> > Will try to draft the patch using this approach.
> 
> Check out the examples in TTmpDirName() and std_file_name().

Had just attached my variant of the patch to the original bug
in Bugzilla:
  http://www.clusterresources.com/bugzilla/show_bug.cgi?id=61

For the completeness, attaching it here too.
-- 
Eygene Ryabinkin, Russian Research Centre "Kurchatov Institute"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: torque-2.5.2-unlink-files-as-job-owner.patch
Type: text/x-diff
Size: 4457 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20100811/ca7722d9/attachment.bin 


More information about the torquedev mailing list