mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #518] i have a problem about "--allow-symlink " #300
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yuf19-2022 on GitHub (Dec 31, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/518
--allow-symlink Allow symlink to files/folders outside root directory
i cannot understand how it works
@sigoden commented on GitHub (Dec 31, 2024):
The
--allow-symlinkoption indufsis used to permit symbolic links (symlinks) that point to files or folders outside the specified root directory of the file server. Normally, for security reasons, file servers restrict access to only the files and folders within a defined root directory to prevent exposure of sensitive information from other parts of the system.When you enable
--allow-symlink,dufsallows these symlinks to be followed, which means users can access files or folders outside the root directory if symlinks within the root directory point to them.Use this option carefully, as it can inadvertently expose unintended files or directories outside your control to users.
If you still don't understand, please create a symlink directory to test it yourself.
@yuf19-2022 commented on GitHub (Dec 31, 2024):
i have created a symlink link,but how i can access the dir it pointer?when i click the symlink, it will be downloaded
@sigoden commented on GitHub (Dec 31, 2024):
I guess you're using a Windows system. Please use
mklinkto create the symlink.@yuf19-2022 commented on GitHub (Jan 1, 2025):
thankyou