[GH-ISSUE #443] **not bug, need help** #239

Closed
opened 2026-04-08 16:51:23 +03:00 by zhus · 9 comments
Owner

Originally created by @LhymeFruit on GitHub (Aug 28, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/443

heavy apologies for using a bug report, i need help with the authentication args
I have a directory that a public/anon user has assess to and I have an admin account with assess to everything
however the admin account doesn't have assess to said public directory. Is it possible to allow the admin account to the public directory?
my launch args are this (censored for privacy and replaced logins)
sudo docker run -v pwd:/data -p censor --rm sigoden/dufs /data -A -a admin:password@/:rw -a @/ro,/(public dir)/

Im pretty sure i can use curl to access the pub dir on the admin account but id rather make it so that i can access it on the web interface .

Originally created by @LhymeFruit on GitHub (Aug 28, 2024). Original GitHub issue: https://github.com/sigoden/dufs/issues/443 heavy apologies for using a bug report, i need help with the authentication args I have a directory that a public/anon user has assess to and I have an admin account with assess to everything however the admin account doesn't have assess to said public directory. Is it possible to allow the admin account to the public directory? my launch args are this (censored for privacy and replaced logins) sudo docker run -v `pwd`:/data -p *censor* --rm sigoden/dufs /data -A -a admin:password@/:rw -a @/ro,/(public dir)/ Im pretty sure i can use curl to access the pub dir on the admin account but id rather make it so that i can access it on the web interface .
zhus closed this issue 2026-04-08 16:51:24 +03:00
Author
Owner

@sigoden commented on GitHub (Aug 28, 2024):

-a admin:password@/:rw give admin perms to access any directory, Whether it's using curl or the webui.

<!-- gh-comment-id:2313750824 --> @sigoden commented on GitHub (Aug 28, 2024): `-a admin:password@/:rw` give admin perms to access any directory, Whether it's using `curl` or the webui.
Author
Owner

@LhymeFruit commented on GitHub (Aug 28, 2024):

-a admin:password@/:rw give admin perms to access any directory, Whether it's using curl or the webui.

seems as if the browser just assumes im switching to the guest account or something, any help with that? every time i load into the pub directory it doesnt let me upload. it also doesnt let me relocate files from any directory to the public directory

<!-- gh-comment-id:2313762999 --> @LhymeFruit commented on GitHub (Aug 28, 2024): > `-a admin:password@/:rw` give admin perms to access any directory, Whether it's using `curl` or the webui. seems as if the browser just assumes im switching to the guest account or something, any help with that? every time i load into the pub directory it doesnt let me upload. it also doesnt let me relocate files from any directory to the public directory
Author
Owner

@sigoden commented on GitHub (Aug 28, 2024):

Do you see a login button in the top-right corner? Please log in to the admin account; then, you can see all the directories.

<!-- gh-comment-id:2313772265 --> @sigoden commented on GitHub (Aug 28, 2024): Do you see a `login` button in the top-right corner? Please log in to the admin account; then, you can see all the directories.
Author
Owner

@LhymeFruit commented on GitHub (Aug 28, 2024):

Do you see a login button in the top-right corner? Please log in to the admin account; then, you can see all the directories.

image
if its this button it just says "Forbidden"

actually if i refresh the page it says the admin account but i still cant edit/upload anything

<!-- gh-comment-id:2313800553 --> @LhymeFruit commented on GitHub (Aug 28, 2024): > Do you see a `login` button in the top-right corner? Please log in to the admin account; then, you can see all the directories. ![image](https://github.com/user-attachments/assets/3cc8770d-30e6-4703-b5cd-839c830423f4) if its this button it just says "Forbidden" actually if i refresh the page it says the admin account but i still cant edit/upload anything
Author
Owner

@sigoden commented on GitHub (Aug 28, 2024):

Please refer to the bug_tempalate to post your configuration, logs or screenshots. Without this information I can't help you.

<!-- gh-comment-id:2313815574 --> @sigoden commented on GitHub (Aug 28, 2024): Please refer to the [bug_tempalate](https://github.com/sigoden/dufs/issues/new?assignees=&labels=&projects=&template=bug_report.md) to post your configuration, logs or screenshots. Without this information I can't help you.
Author
Owner

@LhymeFruit commented on GitHub (Aug 28, 2024):

Please refer to the bug_tempalate to post your configuration, logs or screenshots. Without this information I can't help you.

Problem

--
Configuration

sudo docker run -v pwd:/data -p censor --rm sigoden/dufs /data -A -a admin:password@/:rw -a @/ro,/(public dir)/

Log

Environment:

  • Dufs version:0.41.0
  • Browser/Webdav info:Firefox 129.02
  • OS info:windows 10 22h2
  • Proxy server: none
<!-- gh-comment-id:2313833881 --> @LhymeFruit commented on GitHub (Aug 28, 2024): > Please refer to the [bug_tempalate](https://github.com/sigoden/dufs/issues/new?assignees=&labels=&projects=&template=bug_report.md) to post your configuration, logs or screenshots. Without this information I can't help you. **Problem** <!-- A clear and concise description of what the bug is. --> -- **Configuration** <!-- The dufs command-line arguments or configuration --> sudo docker run -v pwd:/data -p censor --rm sigoden/dufs /data -A -a admin:password@/:rw -a @/ro,/(public dir)/ <!-- If the problems are related to auth/perm, please conceal only the user:pass, but do not hide the entire `auth` configuration. --> **Log** <!-- The dufs log is crucial for locating the problem, so please do not omit it. --> **Environment:** - Dufs version:0.41.0 - Browser/Webdav info:Firefox 129.02 - OS info:windows 10 22h2 - Proxy server: none
Author
Owner

@sigoden commented on GitHub (Aug 28, 2024):

MIssing log?How do I figure out why I'm getting the Foriden error?

Also, Are you really passing the argument -a @/ro,/(public dir)/? Do the directories /ro and ,/(public dir) actually exist?

<!-- gh-comment-id:2313866583 --> @sigoden commented on GitHub (Aug 28, 2024): MIssing log?How do I figure out why I'm getting the `Foriden` error? Also, Are you really passing the argument `-a @/ro,/(public dir)/`? Do the directories `/ro` and `,/(public dir)` actually exist?
Author
Owner

@LhymeFruit commented on GitHub (Aug 28, 2024):

MIssing log?How do I figure out why I'm getting the Foriden error?

Also, Are you really passing the argument -a @/ro,/(public dir)/? Do the directories /ro and ,/(public dir) actually exist?
both directories exist. and how would i get the log from firefox?
also the login button is gone trying it again later so i guess it was a random bug

<!-- gh-comment-id:2314136722 --> @LhymeFruit commented on GitHub (Aug 28, 2024): > MIssing log?How do I figure out why I'm getting the `Foriden` error? > > Also, Are you really passing the argument `-a @/ro,/(public dir)/`? Do the directories `/ro` and `,/(public dir)` actually exist? both directories exist. and how would i get the log from firefox? also the login button is gone trying it again later so i guess it was a random bug
Author
Owner

@LhymeFruit commented on GitHub (Aug 28, 2024):

MIssing log?How do I figure out why I'm getting the Foriden error?

Also, Are you really passing the argument -a @/ro,/(public dir)/? Do the directories /ro and ,/(public dir) actually exist?

It also worked perfectly fine before I removed the credentials from the anon account. the login used to be guest:guest

<!-- gh-comment-id:2316109392 --> @LhymeFruit commented on GitHub (Aug 28, 2024): > MIssing log?How do I figure out why I'm getting the `Foriden` error? > > Also, Are you really passing the argument `-a @/ro,/(public dir)/`? Do the directories `/ro` and `,/(public dir)` actually exist? It also worked perfectly fine before I removed the credentials from the anon account. the login used to be guest:guest
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#239