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] symlinks not working properly #13

Open
mrpops2ko opened this issue Aug 22, 2022 · 0 comments
Open

[Bug] symlinks not working properly #13

mrpops2ko opened this issue Aug 22, 2022 · 0 comments

Comments

@mrpops2ko
Copy link

hi I am using your docker instance (thank you for this btw it is extremely helpful) and there are some issues with the symlinks which can be resolved by adding the -r flag.

I don't really know enough about the issue to fully document why -r fixes it but it does
https://man7.org/linux/man-pages/man1/ln.1.html

       -r, --relative
              create symbolic links relative to link location

i tried a few tests in the console to try figure out why it was creating broken symlinks but i couldn't figure it out. the pathing and directories were all seemingly correct...

example syntax

ln -s /1/2/3.mkv /1/2/4/3.mkv
that above doesn't work, it creates a broken symlink (that was the output from the console, i created a 4 folder manually to play around and see if it was related to how the script was creating folders / symlinked folders but it didn't seem to be the issue )

now if
ln -s -r /1/2/3.mkv /1/2/4/3.mkv
was called then everything works just how it should

please let me know if any of this makes sense xD sorry for the poor explanation, and if its not too much trouble may i request an update to your docker

oh also your docker file runs as root, is it possible to include the appropriate environment variables?
when I passed

PGID 100
PUID 99
UMASK 022

it didn't create the files on the host with the appropriate permissions

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

No branches or pull requests

1 participant