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

bug: Can't copy files from symbolic links #1210

Closed
artemisart opened this issue Feb 27, 2020 · 4 comments
Closed

bug: Can't copy files from symbolic links #1210

artemisart opened this issue Feb 27, 2020 · 4 comments
Assignees
Labels
wontfix This will not be worked on

Comments

@artemisart
Copy link
Contributor

I tried creating a new task using symbolic links to images but the import fails with this message:
Could not create the task on the server. distutils.errors.DistutilsFileError: can't copy '/home/django/share/pathpathpath/4379226.jpg': doesn't exist or not a regular file. Code: 400

@alalek
Copy link

alalek commented Feb 27, 2020

using symbolic links to images

Exact steps to reproduce?

Please note, docker technology doesn't handle symbolic links. It is user responsibility to make them readable in container (including mounting of extra volumes on right paths).

@artemisart
Copy link
Contributor Author

Exact steps to reproduce?

Ex. in a folder with an image file 1.jpg (I tried on the host machine where docker runs, but not inside the container), mkdir images; ln -s images/link.jpg 1.jpg, now create a new task with source: share, select the images folder, the upload fails.

Please note, docker technology doesn't handle symbolic links. It is user responsibility to make them readable in container (including mounting of extra volumes on right paths).

I don't believe the error here is due to docker but not sure at all.

@nmanovic
Copy link
Contributor

@artemisart , @alalek , looks like should work in the scenario. Let's investigate.

@nmanovic
Copy link
Contributor

It looks like the scenario is artificial. I will close the issue as outdated.

@nmanovic nmanovic added wontfix This will not be worked on and removed bug Something isn't working labels Nov 28, 2021
@nmanovic nmanovic removed this from the 1.1.0-release milestone Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants