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

General: Copy of workfile does not use 'copy' function but 'copyfile' #3869

Merged
merged 1 commit into from
Sep 16, 2022

Conversation

iLLiCiTiT
Copy link
Member

Brief description

Use function copyfile instead of copy in which cause some issues on linux distribution.

Description

Function copy also tries to change permissions of file but most of artist users don't have the permissions to change permissions so whole operation crashes after the file is copied.

Testing notes:

  1. Open workfile in a host in linux dist
  2. Run Copy & Open on some published file
  3. File should be copied and opened as expected

@iLLiCiTiT iLLiCiTiT added the type: bug Something isn't working label Sep 16, 2022
@iLLiCiTiT iLLiCiTiT self-assigned this Sep 16, 2022
@antirotor antirotor merged commit 16b7da5 into develop Sep 16, 2022
@antirotor antirotor deleted the bugfix/shutil_copy_permissions_issue branch September 16, 2022 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants