mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #443] **not bug, need help** #239
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 @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 .
@sigoden commented on GitHub (Aug 28, 2024):
-a admin:password@/:rwgive admin perms to access any directory, Whether it's usingcurlor the webui.@LhymeFruit commented on GitHub (Aug 28, 2024):
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
@sigoden commented on GitHub (Aug 28, 2024):
Do you see a
loginbutton in the top-right corner? Please log in to the admin account; then, you can see all the directories.@LhymeFruit commented on GitHub (Aug 28, 2024):
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
@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.
@LhymeFruit commented on GitHub (Aug 28, 2024):
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:
@sigoden commented on GitHub (Aug 28, 2024):
MIssing log?How do I figure out why I'm getting the
Foridenerror?Also, Are you really passing the argument
-a @/ro,/(public dir)/? Do the directories/roand,/(public dir)actually exist?@LhymeFruit commented on GitHub (Aug 28, 2024):
@LhymeFruit commented on GitHub (Aug 28, 2024):
It also worked perfectly fine before I removed the credentials from the anon account. the login used to be guest:guest