[torquedev] The /dev/null fix preventing deletion of job script files

Ken Nielson knielson at adaptivecomputing.com
Tue Sep 7 14:19:15 MDT 2010


On 09/07/2010 12:46 PM, Eygene Ryabinkin wrote:
> Tue, Sep 07, 2010 at 01:04:21PM +0200, "Mgr. ?imon T?th" wrote:
>    
>> I just found out that the new /dev/null fix (on 2.4-fixes) is preventing
>> the unlinking of job. Users don't have sufficient rights to delete files
>> from /var/spool/torque/mom_priv/jobs/ yet, before trying to delete the
>> jobs script mom, switches to users effective uid and gid.
>>      
> It is my fault: the original patch from me added safe unlink function
> to the job_purge and it should really use unlink().  The attached
> patch should do the trick.
>
> But as I see, 2.5.2 has the proper unlink() in place, because Ken Nielsen
> seem to spot this error and hadn't let it slip to the 2.5.
>    
>
>
> _______________________________________________
> torquedev mailing list
> torquedev at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torquedev
>    
committed and will be part of 2.4.11.

Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torquedev/attachments/20100907/c5c8c758/attachment.html 


More information about the torquedev mailing list