Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prohibit renaming processes containing tasks linking in user directories #6395

Open
matthias-ronge opened this issue Feb 3, 2025 · 0 comments

Comments

@matthias-ronge
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
If you rename a process, this works. However, if a task of the process is still linked in a user directory, this link will remain when the task is finished, because the script_deleteSymLink is called on the wrong link path (namely the one with the new title).

Describe the solution you'd like
An error message should appear and renaming should not be possible in this state.

Describe alternatives you've considered
An alternative would be to first remove the links, then rename them, then create new links. But that would break users' uploads in progress, so we rejected that idea.

Additional context
There is a script_createSymLink for creating links and a script_deleteSymLink for deleting links. Regardless of the naming, these scripts are often adapted to customer systems and may create symbolic links, bind mounts or implement other solutions. So, simply renaming elements in the user directory is not an option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant