grisu / gricli

Grisu commandline client
7 stars 2 forks source link

Attaching a directory has a potential endless recursion point #229

Open sgenie68 opened 12 years ago

sgenie68 commented 12 years ago

If a user attaches home directory, the submission goes into endless recursion due to the new directories being created. We can avoid adding active_jobs directory to fix this.

makkus commented 12 years ago

Not that easy, at least not in general. The name of the "active_jobs" directory is configurable on the backend. Also, in a normal "grid" environment we wouldn't have a filesystem mounted both on the machine that submits jobs via gricli and where the job actually runs. So I'm a bit hesitant to do that.

Another solution (and also one that would be quicker to implement) would be to just not allow attaching the users home directory (and root). Would that be acceptable?