[torquedev] The /dev/null fix preventing deletion of job script files
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
committed and will be part of 2.4.11.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the torquedev