- This topic has 6 replies, 3 voices, and was last updated Sep 9-11:29 pm by aledosim.
-
AuthorPosts
-
September 2, 2025 at 11:52 pm #184895
aledosimMemberHello!
I’m trying to configure a transmission server with antiX 23 core in my old netbook, but I’m getting “Permission denied” even when I granted it. What I’m missing?
Below is the transmission-daemon service logs, evidences and system info.$ tail /var/lib/transmission-daemon/info/logfile.log [2025-09-03 00:18:12.282] Saved "/var/lib/transmission-daemon/info/torrents/ab0929777f04073f9cfc990f4f7491f12d97955d.torrent" (variant.c:1221) [2025-09-03 00:18:12.282] antiX-23.2-net_x64-net.iso Queued for verification (verify.c:272) [2025-09-03 00:18:12.282] antiX-23.2-net_x64-net.iso Verifying torrent (verify.c:220) [2025-09-03 00:18:16.282] antiX-23.2-net_x64-net.iso Starting IPv4 DHT announce (poor, 55 nodes) (tr-dht.c:721) [2025-09-03 00:18:22.281] antiX-23.2-net_x64-net.iso Starting IPv6 DHT announce (poor, 53 nodes) (tr-dht.c:721) [2025-09-03 00:18:29.282] antiX-23.2-net_x64-net.iso Scrape error: Tracker gave HTTP response code 100 (Unknown Error) (announcer.c:1392) [2025-09-03 00:18:29.282] antiX-23.2-net_x64-net.iso Retrying scrape in 20 seconds. (announcer.c:1401) [2025-09-03 00:18:35.282] Couldn't create "/home/jonh5ck/Downloads/transmission/completed": Permission denied (file-posix.c:243) [2025-09-03 00:18:35.282] Couldn't create "/home/jonh5ck/Downloads/transmission/completed": Permission denied (fdlimit.c:174) [2025-09-03 00:18:35.282] antiX-23.2-net_x64-net.iso tr_fdFileCheckout failed for "/home/jonh5ck/Downloads/transmission/completed/antiX-23.2-net_x64-net.iso.part": Permission denied (inout.c:95) [2025-09-03 00:18:35.282] antiX-23.2-net_x64-net.iso Permission denied (/home/jonh5ck/Downloads/transmission/completed/antiX-23.2-net_x64-net.iso) (torrent.c:574) [2025-09-03 00:18:35.282] antiX-23.2-net_x64-net.iso Pausing (torrent.c:2022) [2025-09-03 00:18:35.282] Couldn't create "/home/jonh5ck/Downloads/transmission/completed": Permission denied (file-posix.c:243) [2025-09-03 00:18:35.282] Couldn't create "/home/jonh5ck/Downloads/transmission/completed": Permission denied (fdlimit.c:174) [2025-09-03 00:18:35.282] antiX-23.2-net_x64-net.iso tr_fdFileCheckout failed for "/home/jonh5ck/Downloads/transmission/completed/antiX-23.2-net_x64-net.iso.part": Permission denied (inout.c:95) [2025-09-03 00:18:35.283] Saved "/var/lib/transmission-daemon/info/resume/ab0929777f04073f9cfc990f4f7491f12d97955d.resume" (variant.c:1221) [2025-09-03 00:18:59.282] antiX-23.2-net_x64-net.iso Scrape error: Tracker gave HTTP response code 100 (Unknown Error) (announcer.c:1392) [2025-09-03 00:18:59.282] antiX-23.2-net_x64-net.iso Retrying scrape in 20 seconds. (announcer.c:1401)$ ls -lh Downloads/transmission/ total 8,0K drwxrwx--- 2 debian-transmission debian-transmission 4,0K set 2 13:53 completed drwxrwx--- 2 debian-transmission debian-transmission 4,0K set 2 02:36 progress$ sudo cat /etc/transmission-daemon/settings.json { "alt-speed-down": 50, "alt-speed-enabled": false, "alt-speed-time-begin": 540, "alt-speed-time-day": 127, "alt-speed-time-enabled": false, "alt-speed-time-end": 1020, "alt-speed-up": 50, "bind-address-ipv4": "0.0.0.0", "bind-address-ipv6": "::", "blocklist-enabled": false, "blocklist-url": "http://www.example.com/blocklist", "cache-size-mb": 4, "dht-enabled": true, "download-dir": "/home/aledosim/Downloads/transmission/completed", "download-limit": 100, "download-limit-enabled": 0, "download-queue-enabled": true, "download-queue-size": 5, "encryption": 1, "idle-seeding-limit": 30, "idle-seeding-limit-enabled": false, "incomplete-dir": "/home/aledosim/Downloads/transmission/progress", "incomplete-dir-enabled": false, "lpd-enabled": false, "max-peers-global": 200, "message-level": 2, "peer-congestion-algorithm": "", "peer-id-ttl-hours": 6, "peer-limit-global": 200, "peer-limit-per-torrent": 50, "peer-port": 51413, "peer-port-random-high": 65535, "peer-port-random-low": 49152, "peer-port-random-on-start": false, "peer-socket-tos": "default", "pex-enabled": true, "port-forwarding-enabled": false, "preallocation": 1, "prefetch-enabled": true, "queue-stalled-enabled": true, "queue-stalled-minutes": 30, "ratio-limit": 2, "ratio-limit-enabled": false, "rename-partial-files": true, "rpc-authentication-required": true, "rpc-bind-address": "0.0.0.0", "rpc-enabled": true, "rpc-host-whitelist": "", "rpc-host-whitelist-enabled": true, "rpc-password": "", "rpc-port": 9091, "rpc-url": "/transmission/", "rpc-username": "transmission", "rpc-whitelist": "192.168.0.103", "rpc-whitelist-enabled": true, "scrape-paused-torrents-enabled": true, "script-torrent-done-enabled": false, "script-torrent-done-filename": "", "seed-queue-enabled": false, "seed-queue-size": 10, "speed-limit-down": 100, "speed-limit-down-enabled": false, "speed-limit-up": 100, "speed-limit-up-enabled": false, "start-added-torrents": true, "trash-original-torrent-files": false, "umask": 2, "upload-limit": 100, "upload-limit-enabled": 0, "upload-slots-per-torrent": 14, "utp-enabled": true }$ sudo inxi -zv7 System: Kernel: 5.10.224-antix.1-486-smp arch: i686 bits: 32 compiler: gcc v: 12.2.0 clocksource: hpet Console: pty pts/2 Distro: antiX-23.2_386-core Arditi del Popolo 6 October 2024 base: Debian GNU/Linux 12 (bookworm) Machine: Type: Laptop System: Philco product: S�rie PHN10050 v: 01.0 serial: N/A Mobo: PEGATRON model: N/A serial: N/A uuid: ebee8400-5cfe-2cd6-47ed-00248cba6011 BIOS: American Megatrends v: 01.0 date: 04/01/2009 Battery: ID-1: BAT charge: 7.0 Wh (100.0%) condition: 7.0/31.0 Wh (22.6%) volts: 8.2 min: 7.4 model: H80CH type: Li-ion serial: N/A status: not charging Memory: System RAM: total: 2 GiB available: 1.95 GiB used: 279.5 MiB (14.0%) igpu: 7.9 MiB Array-1: capacity: 16 GiB note: est. slots: 4 modules: 1 EC: 64-bit ECC max-module-size: 4 GiB Device-1: DIMM0 info: double-bank type: SDRAM detail: synchronous size: 2 GiB speed: N/A volts: N/A width (bits): data: 64 total: 64 manufacturer: N/A part-no: N/A serial: N/A Device-2: DIMM1 type: no module installed Device-3: DIMM2 type: no module installed Device-4: DIMM3 type: no module installed CPU: Info: single core model: Intel Atom N270 bits: 32 type: MT smt: enabled arch: Bonnell rev: 2 cache: L1: 56 KiB L2: 512 KiB Speed (MHz): avg: 800 min/max: 800/1600 volts: 1.3 V ext-clock: 133 MHz cores: 1: 800 2: 800 bogomips: 6384 Flags: acpi aperfmperf apic arch_perfmon bts clflush cmov constant_tsc cpuid cx8 de ds_cpl dtes64 dtherm dts est fpu fxsr ht lahf_lm mca mce mmx monitor movbe msr mtrr nx pae pat pbe pdcm pebs pge pni pse sep ss sse sse2 ssse3 tm tm2 tsc vme xtpr Graphics: Device-1: Intel Mobile 945GSE Express Integrated Graphics vendor: Pegatron driver: i915 v: kernel arch: Gen-3.5 ports: active: LVDS-1 empty: VGA-1 bus-ID: 00:02.0 chip-ID: 8086:27ae class-ID: 0300 Display: server: No display server data found. Headless machine? tty: 71x41 Monitor-1: LVDS-1 model: Chungwa Picture Tubes 0x04c4 res: 1024x600 dpi: 113 size: 222x130mm (8.74x5.12") diag: 269mm (10.6") modes: 1024x600 API: N/A Message: No API data available in console. Headless machine? Audio: Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: Pegatron driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:27d8 class-ID: 0403 API: ALSA v: k5.10.224-antix.1-486-smp status: kernel-api Network: Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Packard Bell B.V. driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: dc00 bus-ID: 01:00.0 chip-ID: 10ec:8136 class-ID: 0200 IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> IP v4: <filter> type: dynamic scope: global broadcast: <filter> IP v6: <filter> type: temporary dynamic scope: global IP v6: <filter> type: temporary deprecated dynamic scope: global IP v6: <filter> type: temporary deprecated dynamic scope: global IP v6: <filter> type: temporary deprecated dynamic scope: global IP v6: <filter> type: temporary deprecated dynamic scope: global IP v6: <filter> type: dynamic mngtmpaddr scope: global IP v6: <filter> scope: link Device-2: Realtek RTL8187SE Wireless LAN driver: rtl818x_pci v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: ec00 bus-ID: 02:00.0 chip-ID: 10ec:8199 class-ID: 0280 IF: wlan0 state: down mac: <filter> WAN IP: <filter> Bluetooth: Message: No bluetooth data found. Logical: Message: No logical block device data found. RAID: Message: No RAID data found. Drives: Local Storage: total: 232.89 GiB used: 1.68 GiB (0.7%) ID-1: /dev/sda vendor: Samsung model: HM251JI size: 232.89 GiB speed: <unknown> tech: N/A serial: <filter> fw-rev: 0_03 scheme: MBR Message: No optical or floppy data found. Partition: ID-1: / size: 29.36 GiB used: 1.68 GiB (5.7%) fs: ext4 dev: /dev/sda1 label: N/A uuid: 0d514b56-6950-415a-84b3-7a8a1d5eabb7 ID-2: /home size: 196.79 GiB used: 1.8 MiB (0.0%) fs: ext4 dev: /dev/sda2 label: N/A uuid: 2ba127fc-e15c-4ce3-9c93-34a1bea921c0 Swap: Alert: No swap data was found. Unmounted: ID-1: /dev/sda3 size: 1.88 GiB fs: N/A label: N/A uuid: N/A USB: Hub-1: 1-0:1 info: full speed or root hub ports: 8 rev: 2.0 speed: 480 Mb/s lanes: 1 chip-ID: 1d6b:0002 class-ID: 0900 Device-1: 1-8:2 info: Realtek USB 2.0 multicard reader type: mass storage driver: ums-realtek interfaces: 1 rev: 2.0 speed: 480 Mb/s lanes: 1 power: 500mA chip-ID: 0bda:0158 class-ID: 0806 serial: <filter> Hub-2: 2-0:1 info: full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s lanes: 1 chip-ID: 1d6b:0001 class-ID: 0900 Hub-3: 3-0:1 info: full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s lanes: 1 chip-ID: 1d6b:0001 class-ID: 0900 Hub-4: 4-0:1 info: full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s lanes: 1 chip-ID: 1d6b:0001 class-ID: 0900 Hub-5: 5-0:1 info: full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s lanes: 1 chip-ID: 1d6b:0001 class-ID: 0900 Sensors: Src: /sys System Temperatures: cpu: 39.0 C mobo: N/A Fan Speeds (rpm): N/A Info: Processes: 93 Power: uptime: 4d 12h 36m states: freeze,standby,mem,disk suspend: deep wakeups: 0 hibernate: platform Init: SysVinit v: 3.06 runlevel: 2 default: 2 Packages: pm: dpkg pkgs: 518 Compilers: gcc: 12.2.0 Shell: Sudo (sudo) v: 1.9.13p3 default: Bash v: 5.2.15 running-in: pty pts/2 (SSH) inxi: 3.3.36- This topic was modified 1 year ago by aledosim.
September 3, 2025 at 1:55 am #184899
sybokMemberIt seems that two users are involved, namely ‘debian-transmission’ and ‘aledosin’.
0) Could you post details about the running process?
Is it running with the correct user and hence permissions?
It could be output of ‘ps -ef | grep transmission’1) How did you set the permissions?
I usually run ‘sudo chown <new owner> -R <path to> && sudo chgrp <new owner> -R <path to>’ but that applies to different use-cases|circumstances.2) Is the former user in the group of the latter or there is no such connection?
Explore ‘/etc/group’, e.g. grep the users.
Adding the transmission user to your user group might simplify certain permission things but it could made your data available to the transmission user.September 3, 2025 at 5:39 pm #184955
aledosimMemberHello sybok,
Thanks for your reply. Let’s go to the answers for your good questions.0) Could you post details about the running process?
transmission-daemon is running as system service. “ps -ef | grep transmission” doesn’t show it completely, but I guarantee that the process is run as user “debian-transmission” (saw it on htop).$ ps -ef | grep transmission debian-+ 28197 1 0 18:59 ? 00:00:06 /usr/bin/transmission-daemon --config-dir /var/lib/transmission-daemon/info --logfile /var/lib/transmission-daemon/info/logfile.log aledosim 29875 4042 0 19:12 pts/0 00:00:00 grep --color=auto transmission1) How did you set the permissions?
I’ve used “chown” and then added my user to the debian-transmission group. I can access the folders without problems with my user. Did it before adding any torrents to download.$ sudo chown debian-transmission:debian-transmission /home/aledosim/Downloads/transmission/* $ sudo usermod -a -G debian-transmission $USER2) Is the former user in the group of the latter or there is no such connection?
I’m trying to not add debian-transmission to the user group for security. But I added my user to the debian-transmission group, as I said.$ cat /etc/group | grep aledosim lp:x:7:aledosim dialout:x:20:aledosim cdrom:x:24:aledosim floppy:x:25:aledosim sudo:x:27:aledosim audio:x:29:aledosim dip:x:30:aledosim video:x:44:aledosim plugdev:x:46:aledosim users:x:100:aledosim netdev:x:106:aledosim aledosim:x:1000: debian-transmission:x:109:aledosim$ cat /etc/group | grep debian-transmission debian-transmission:x:109:aledosimSeptember 5, 2025 at 11:25 am #185047
sybokMemberRegarding 2), funny, I would expect it to work the other way but I may be totally wrong.
You can try to create any dummy file such
A) As user ‘aledosim’:
‘touch /home/aledosim/Downloads/transmission/dummy1.out’
B) As user ‘debian-transmission’; use sudo (or is it possible to ssh as ‘debian-transmission’ user?)
‘sudo -U debian-transmission — touch /home/aledosim/Downloads/transmission/dummy2.out’
Not sure what the password is; I once created a user dedicated to a service and I believe its password was to be set using ‘sudo -u <username> passwd’ (during the first login) and trying to log in before setting the password messed it up.What is the output of the two attempts?
If you create the two directories (probably as the debian-transmission user to be on the safe side) for complete and incomplete downloads, does it help to resolve the issue?
If the problem persists, what are the rights for the two directories?Currently on leave, long reply times.
September 9, 2025 at 9:48 am #185265
aledosimMemberI tried to create the files, but got permission denied on both users (aledosim and debian-transmission). Created the “/home/aledosim/Downloads/transmission/completed” folder with root through sudo and with aledosim, the result is the same.
I changed the folder mode with “chmod 777” (most permissive as possible), then the user aledosim was able to touch, but debian-transmission still without permissions.
Now I’m confused, does “ls” have a bogus output? Is there something on how SystemV handles service permissions (I don’t think so)? I’m quite sure there’s a missing detail here.aledosim@antix1 ~ E 0|J 0 $ mkdir /home/aledosim/Downloads/transmission/completed/ aledosim@antix1 ~ E 0|J 0 $ sudo chown debian-transmission:debian-transmission /home/aledosim/Downloads/transmission/completed/ aledosim@antix1 ~ E 0|J 0 $ sudo chmod 777 /home/aledosim/Downloads/transmission/completed/ aledosim@antix1 ~ E 0|J 0 $ touch /home/aledosim/Downloads/transmission/completed/dummy1.out aledosim@antix1 ~ E 0|J 0 $ sudo -u debian-transmission touch /home/aledosim/Downloads/transmission/completed/dummy2.out touch: não foi possível tocar '/home/aledosim/Downloads/transmission/completed/dummy2.out': Permissão negada aledosim@antix1 ~ E 0|J 0 $ ls -l /home/aledosim/Downloads/transmission/ total 4 drwxrwxrwx 2 debian-transmission debian-transmission 4096 set 9 11:30 completedSeptember 9, 2025 at 10:36 am #185267Robin
MemberI’m quite sure there’s a missing detail here.
You need to be able to traverse the file system path to the folder. When checking the /home/aledosim folder, you will most likely find, that this folder merely grants rwx permissions to the very user, not to everybody (for good reason!). For testing, you can allow rwx for o temporarily, then repeat your experiment. It should work.
My advice: After successfully completing the $ sudo -u otheruser touch experiment with modified traversal permissions, revert the home folder settings back to original, and move your transmssion folder elsewhere, outside your home folder. Then you can set the folder permissions for the folders you have to traverse the way you need it, without endangering your stuff in home.
Windows is like a submarine. Open a window and serious problems will start.
September 9, 2025 at 11:29 pm #185304
aledosimMemberI’d like to thank you all for your patience and help.
By changing the home folder mode, I was able to touch the folder as expected. Robin summarized it enough. -
AuthorPosts
- You must be logged in to reply to this topic.