Comments (7)
For security, dufs don't allow symlinks to dirctories outside the entrypoint directory unless runing with option -A
or --allow-symlink
.
For convenient, dufs do allow symlinks to directories inside the entrypoint directory.
These will satisfy most users.
from dufs.
If you only want to serve a certain directory, but that directory has an symlink which links to /, you are actually exposing the entire filesystem.
from dufs.
similar projects that are not suffering from this issue:
from dufs.
i can see that both the projects do something similar with fs::read_link
, which dufs
does not. here is a link to those lines:
from dufs.
Do your run with option -A
or --allow-symlink
?
from dufs.
it works after passing the -A
option. but i think it makes more sense to allow symlinks by default. also there is lack of consistency here, because symlinks within the same drive are listed without the -A
option.
from dufs.
cool, understood. but, do you mind telling me about the security concerns when it comes to external symlinks?
from dufs.
Related Issues (20)
- Allow hidden files for some users (roles) HOT 1
- 403 Forbidden HOT 2
- hope support armv5tejl HOT 1
- PROPFIND request body with properies gets ignored HOT 1
- Speed Limiter HOT 2
- Return error `400` for unsupported propfind depths HOT 2
- Please allow creating files by POST method. Sometimes it is impossible to use the PUT method HOT 1
- visit problem with browser on macos HOT 2
- about webdav service HOT 1
- not use webdav HOT 2
- nplayer挂载webdav问题 HOT 1
- Hide content by Regex pattern instead of Wildcard pattern HOT 1
- How do I run the web interface HOT 2
- Failed to upload file (size > 105MB) via iOS / iPadOS HOT 4
- Upload if hash matches HOT 1
- cannot partial update using ranges beyond the current file size HOT 7
- Do not list root directory HOT 5
- Icons are vertical down the page HOT 4
- Some folder names with special characters will raise a 404 error HOT 1
- Slow download of zipped folders HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dufs.