clay icon indicating copy to clipboard operation
clay copied to clipboard

Clay relies on temporary files, which prevent usage multi-user

Open daslu opened this issue 9 months ago • 2 comments

Clay uses the Tempfiles library, which creates temporary files under /tmp/scicloj-files. In the current behaviour in a Linux system, when one user creates that directory, it is owned by that user, and then other users are blocked from using it, and an Exception is thrown. Probably a similar situation holds in other operating systems.

daslu avatar Mar 11 '25 22:03 daslu

How about just creating a random and unique tmp directory for every clay instance to use?

whatacold avatar Aug 30 '25 12:08 whatacold

It could be good, but it's not a high priority to solve, since it will be fixed in an upcoming refactoring anyway.

daslu avatar Aug 30 '25 19:08 daslu