-
-
Notifications
You must be signed in to change notification settings - Fork 412
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
Feature Request: Hide dir if it not allow in user rules #67
Comments
Have you found a solution to this problem? I want to to solve the problem too. |
I solved this problem by creating a soft link, and it needs to be executed manually. Here is an example:
# The first path is outside of docker
# The second path is inside docker
ln -s "/etc/webdav/user/test/show-the-file" "/data/show-the-file"
users:
- username: test
password: "your password"
permissions: CURD
directory: /user/test
version: "3"
services:
webdav:
image: hacdias/webdav
container_name: webdav
restart: unless-stopped
volumes:
- "/etc/webdav/config.yaml:/config.yaml:ro"
- "/etc/webdav/user:/user"
- "/your/shared/path:/data"
ports:
- "6065:6065"
command: -c /config.yaml
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can hide some dir(not show in webdav client) if these dir was not allow in user rules config?
I don't wants some users know the dir exist if they has no permisson for those dir. Thanks
The text was updated successfully, but these errors were encountered: