Closed Raizo62 closed 4 weeks ago
I think the reason is because use the zipfile module in Python https://docs.python.org/3/library/zipfile.html which does not support symbolic links. I could try to implement an alternative.
I have added support for symbolic links. It will work in v2.2.50 onward.
Please don't hesitate to comment back if you spot a problem related to this issue.
This seems to work :-) Thanks :-)
Hi
I am creating a new template docker "alpine" with an alpine image.
I'm configuring this image with the persistent folder "/link"
I'm creating the new project "untitled"
I'm running the VM "alpine"
In the console, i'm creating a symbolic link :
(This is the type of syntax in /etc/network of Debian)
I'm stopping the VM
With GNS3, i'm renaming the project with this new name : newname I have this error message :
2024-10-05 13:13:44 ERROR project:336 Error while duplicating project: Cannot duplicate project: [('/home/user/projects/untitled/project-files/docker/ec050da8-26c0-4012-b254-3a304385c6d9/link/os-release', '/home/user/projects/43087ed0-73d8-4841-9c97-a78fe212c6b3/project-files/docker/ec050da8-26c0-4012-b254-3a304385c6d9/link/os-release', "[Errno 2] No such file or directory: '/home/user/projects/untitled/project-files/docker/ec050da8-26c0-4012-b254-3a304385c6d9/link/os-release'")]
No error if the symbolic link is created with the command
But the file /link/os-release is no longer a symbolic link but a standard file