Open wellnesscookie opened 1 year ago
Be aware it's not possible to symlink to directories outside of the containers filesystem.
How comes? I spoke of the mounted directiories specifically. They are tehnically outside of the containers and my need for symlinks is that case exactly.
A mount is considered as part of the container when it is running.
I just mention it for the additional context as a lot of people in the past have thought symlinks would work that way. If your symlink target is in your mounted directory then that of course works fine as it is part of the containers filesystem.
Okay. Sorry if it sounded a bit agressive. Thanks for clarification of your comment. And in addition to parkervcp's response, yes, but I think that is fine. Just as the disk space limitation is only enforced while the container is running (if I recall well). But hey, containers are mostly thought to be runtime instances I guess
I support this feature request. It's a mess always having to symlink by logging to putty via ssh, just as @wellnesscookie mentioned. We symlink configuration files mostly, and this feature would make that task a lot easier.
The thing with symlinks is that they don't point to files on the host but in the container. This is not some magic way to share files between servers. You need a mount for that.
But I did mention I need it for files inside my mounted path, I have a feeling that neither my original post, nor the 2nd comment and discussion with danny had been read.
I am just making sure that information is part of this. I add symlinks in the install process.
You can always add them on startup if you modify the egg start command to run the link commands for you. Or you can make a custom image to do this for you as well.
Is there an existing feature request for this?
Describe the feature you would like to see.
Since there is a "mount" option for external folders/files outside of containers, it would be only logical to make an option to make symlink via pterodactyl as well. Symlinks are widely used across large networks that have multiple servers (minecraft mostly), which use same plugins as Essentials, Vault, ... and pterodactyl should have this feature present.
Not much things I can do with mounted points if I don't have an access to terminal or so. We can create folders, files, but I see no reason for symlinks to be excluded.
Describe the solution you'd like.
Have a button next to "New File" button, or have a drop menu that expands to:
Additional context to this request.
We would really like to see this feature implemented, as it would make things easier for us! :)