-
-
Notifications
You must be signed in to change notification settings - Fork 192
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] Completed torrents written with readonly permissions #295
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
Try pressing 'Show more settings...'. and change UMASK from 022 to 000 |
I tried it and it works. But I have to mention that this issue has started showing itself out of nothing. All I've never done, is update the docker to its latest version ocassionally. I haven't touched any configuration, so I wonder why I should now. And even if this is the solution, it would only solve it for me. Everybody else may still run into this problem. Shouldn't it be the default? I wonder what the thought process is behind this UMASK thing. |
Umask is what transmission use to handle file mode creation mask, and their default is 022, so it is a reasonable default to use on this container. Ref https://github.com/transmission/transmission/blob/main/docs/Editing-Configuration-Files.md#files-and-locations and https://man7.org/linux/man-pages/man2/umask.2.html I do agree that 000 would be a better default value for the Unraid app. Edit: I found the support thread for the Unraid transmission app at the Unraid forums. It seems to be administered by the same people, but guess you could try asking there as well if 000 would be a better default umask on the Unraid app. |
that said, the file was not written with read only permissions, uid 99 has full access and the group and everyone have read access, which is very typical. Anyway, the OP has the solution which is also covered in our container readme, this is not a container issue. I will close this |
Is there an existing issue for this?
Current Behavior
Once a torrent is completed, it is moved to its final location on disk, and that location is created using
drwxr-xr-x
permission. This prevents me from being able to delete it.Expected Behavior
It should inherit permissions from the parent directory, i.e. not touch permissions at all and just let the filesystem decide. For me that would be
drwxrwxrwx
on the parent directory.Steps To Reproduce
Just make sure the incomplete and complete directories are two physically distinct directories.
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: