Craig Dibble <[email protected]> writes:
> Quoting Peter Miller <[email protected]>:
>> On Wed, 2010-03-10 at 10:07 +1100, Craig Dibble wrote:
>>> Does anyone have any thoughts on removing the sticky bit on the
>>> /var/tmp directory and setting it to 777?
[...]
> If you're curious, this is a large render farm controlled by a homegrown job
> scheduler, the users submit jobs and the scheduler takes over - hence our
> current problem.
See, this is why I like tools like Condor, PBS, or the Sun Grid Engine. You
get to let other people pay the big money to build features like cleaning up
for you, so you don't have to. You get to play more golf.[1]
Might it be easier to provide a compatible API to users, and replace the
inside with one of these tools?
> We have pre and post hooks available though, so maybe doing a chmod or chown
> on the directory at the start and end of every job would suffice to keep
> everyone happy?
If you can do that, can't you just remove the files as root? Unless you are
running on some strange platform that allows giving away file ownership to
unprivileged users or something...
Daniel
Footnotes:
[1] ...for some value of golf attractive to you, of course. ;)
--
✣ Daniel Pittman ✉ [email protected] ☎ +61 401 155 707
♽ made with 100 percent post-consumer electrons
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html