mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[GH-ISSUE #1284] Question: Permission denied when placing archive subfolder onto CIFS share #2297
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#2297
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @NanoBaker on GitHub (Dec 13, 2023).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1284
Hello, I've been trying for a while to get this to work but I am unsure what is going wrong. I have my data folder mounted locally on my machine and my archive subfolder mounted onto a remote CIFS share on my NAS. Initializing it works just fine, and I can access the web GUI, but whenever I attempt to download anything it gives this permission denied error:
On the server, I already set the access level for that share to 777, but checking it from archive-box gives a different response:
(Server side)
(Archive-box)
I am not the most experienced with docker, and I am unsure what is going wrong here. If it helps, here are the relevant pieces of my docker-compose:
Any suggestions or recommended changes?
@pirate commented on GitHub (Dec 13, 2023):
Can you try using uid=901 and gid=901 for your CIFS mount, those are the defaults that archivebox uses
Also mount the volume with
:rw,:zmode sometimes causes weird permissions issues.@NanoBaker commented on GitHub (Dec 13, 2023):
That doesn't seem to work, as it gives the same error as before.
@pirate commented on GitHub (Dec 14, 2023):
Sorry I made a mistake above try 911 not 901 for uid and gid.
If that doesn't work I'll investigate further and push a fix when I'm back from travel next week.
@NanoBaker commented on GitHub (Dec 14, 2023):
That worked for me, thanks!