You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Not all tmp files are eliminated when running the pipeline, hence they get try to get overwritten if a different user runs zairachem in the same workstation without a restart. As they are created by another user, they cannot be overwritten.
To Reproduce
Steps to reproduce the behavior:
Use a workstation with two users
Run Zairachem with user 1
Change user
Run Zairachem with user 2
Expected behavior
If all tmp files were deleted after running zairachem both users could use it without need to reboot. Probably not super prioriotary to solve
Screenshots PermissionError: [Errno 13] Permission denied: '/tmp/ersilia-3g2uz61d'
In particular, there were 2 files still existing without global edit permissions: drwx------ 2 gturon gturon 4096 feb 19 12:53 ersilia-3g2uz61d
Desktop (please complete the following information):
Ubuntu 22.04
The text was updated successfully, but these errors were encountered:
It seams that as you are writing in a system folder without root privileges, the only one can manage this file is you. Without having the complete picture, the quickest way could be change the permissions of the file once is created with something like this: https://www.adamsmith.haus/python/answers/how-to-change-file-permissions-in-python
However, a good practice could be delete the files that are created in the directory if they are not going to be used anymore, to avoid this kind of problems.
Some thoughts about /tmp folder that maybe helps on choose the way to follow.
Describe the bug
Not all tmp files are eliminated when running the pipeline, hence they get try to get overwritten if a different user runs zairachem in the same workstation without a restart. As they are created by another user, they cannot be overwritten.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If all tmp files were deleted after running zairachem both users could use it without need to reboot. Probably not super prioriotary to solve
Screenshots
PermissionError: [Errno 13] Permission denied: '/tmp/ersilia-3g2uz61d'
In particular, there were 2 files still existing without global edit permissions:
drwx------ 2 gturon gturon 4096 feb 19 12:53 ersilia-3g2uz61d
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: