-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
[BUG] Permission denied #339
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
The issue isn't with the containers but the permissions you've used on the remote mount. |
no, permissions are correct |
(W) 2024-10-28T23:03:53 - File error alert. Torrent: "some_torrent". File: "/data/torrent/movies/some_folder/some_media_file.mkv". |
if i couldn't create files while inside the container, then yes 99% that it's a permissions issue, but at the moment i can easily create files manually from inside the container |
Try it as abc user within the container |
how can this be done? |
Then try and access the same location. |
unfortunately it does not allow to log in under the abc account, I can try to run the container without mounting the config |
If you're running as root (0) for your puid/pgid, then that's likely why (and not something we support/recommend) |
if i specify PUID & PGID value 1000, the error still remains |
Did you try entering the container as abc? |
yep
|
If that file is getting written as root, that looks to me that your puid isn't applying. Could you take this to our discord please? as this really ain't a container issue and it will be easier to figure out |
abc has same uid and gid as root inside the container
If it's not too much trouble, please give me a link to your discord server |
thanks, |
So that shows it's a permissions issue, qbittorrent runs as abc user within the container, when you were originally checking the file, it was as root. |
but log of qb show that's it's running under 0:0 |
Then how you're deploying the container isn't correctly managing them if you really had changed the puid/pgid. Every issue that's got opened on here related to remote mounts is always due to how the user has setup the permissions. |
deploy using ansible, and mount folder rights 0777 |
A human has marked this issue as invalid, this likely happened because the issue template was not used in the creation of the issue. |
marked invalid, but leaving open for now. Reason for invalid is supporting remote mounts is out of scope per our support policy. our deployment methods are outlined in our readme and ansible, while it should work fine, is not one of them. Running applications as root is not supported. As nothing leading to this error is supported, the issue is considered unsupported. OP was recommended to seek best-effort help on discord. |
Is there an existing issue for this?
Current Behavior
On a clean system, deployed the latest version of the qbittorrent image, the launch is performed through the systemd service, the network share is attached, there are full rights to the share itself in the system and inside the container.
Checked by creating a file through touch.
But every time I try to download data, it says I don’t have rights.
Expected Behavior
Downloading files
Steps To Reproduce
deploy service and use cifs share
//172.16.0.1/multimedia /mnt/multimedia cifs rw,vers=3,user=...,password=...,file_mode=0777,dir_mode=0777 0 0
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: