abique / hefur

Standalone C++ BitTorrent tracker
MIT License
192 stars 30 forks source link

Symbolic links in whitelist directory are ignored #35

Closed nielsAD closed 3 years ago

nielsAD commented 3 years ago

While recursively iterating the torrent directory, symbolic links to directories are skipped.

I guess we would have to handle S_ISLNK in mimosa/fs/find.cc.

abique commented 3 years ago

I've checked quickly the code I did not see something preventing symbolic links. I'll run some tests later.

abique commented 3 years ago

This commit adds some test data for your issue: https://github.com/abique/hefur/commit/bc8d11af3e94693873fbaf23a3ca29e8af6876c1 But then everything works fine. Please can you double check your issue? Many thanks :)

nielsAD commented 3 years ago

You're right, this was a permission issue on my end. Thanks!