transmission-cli permission denied error. 29 March 2025, 10:51:53 hi,i'm trying to setup transmission-cli.In the web gui, i get permission denied error. Can't access files.Transmission-remote doesn't download either.I have not setup any configuration.I just started the daemon with /etc/init.d/transmission start command.And added the torrent with transmission-remote -a torrentfile.torrent, then started it with the start command.Someone help me figure out which permissions to set?
Re: transmission-cli permission denied error. Reply #1 – 29 March 2025, 11:01:01 Have a look what permissions transmission uses for both it's process and it's storage and whatever the group is add your user to that group.Alternatively have transmission run as your user. You don't mention your init but I'll guess at openrc due to the init.d in your manual command.in the second case If openrc you can set the user in /etc/conf.d/transmission then start with rc-service.Or if you prefer to do it manually look up the option to pass to transmission to set the user.I use rtorrent and run it as my user as I find this approach the simplest.Edit:if you change the transmission user you will either have chown the folders and files it uses to that user or delete them. You'd have to look up where they are 'cos idk. Last Edit: 29 March 2025, 11:54:13 by gripped 1 Likes
Re: transmission-cli permission denied error. Reply #2 – 29 March 2025, 14:45:24 alright, transmission-cli ran as user transmission.I set it to local user.Now it works.
Re: transmission-cli permission denied error. Reply #3 – 29 March 2025, 15:22:37 Quote from: awky – on 29 March 2025, 14:45:24alright, transmission-cli ran as user transmission.I set it to local user.Now it works.Cool I should have mentioned that there are security implications to the way I, and now you, are doing it.By having transmission run as user transmission if there are bugs which could cause a security breach then the only files which can be affected are the ones owned by user transmission. That is not the case with running it as your user.That said many torrent clients run as the standard user anyway.A difference though with clients which access the daemon through a browser is you want to make sure it will only accept local connections. If it's an option with transmission use Unix sockets rather than IP.But also it's not too much to worry about as, unless you are directly connected to the internet with no router, you'd need to set up port forwarding to allow a remote connection.To be on the safe side, if using IP to connect to transmission-cli, try to connect to http://YOURIP:TRANSMISSIONPORT and https://YOURIP:TRANSMISSIONPORT from another network. Like from your mobile with wifi off. Where YOURIP is the IP you'd get from a webpage such as https://whatismyipaddress.com/If you can't connect then all is well. Last Edit: 29 March 2025, 15:29:23 by gripped 1 Likes
Re: transmission-cli permission denied error. Reply #4 – 29 March 2025, 21:36:06 Quote from: awky – on 29 March 2025, 10:51:53hi,i'm trying to setup transmission-cli.In the web gui, i get permission denied error. Can't access files.Transmission-remote doesn't download either.I have not setup any configuration.I just started the daemon with /etc/init.d/transmission start command.And added the torrent with transmission-remote -a torrentfile.torrent, then started it with the start command.Someone help me figure out which permissions to set?WHy use the webgui? Does the gtk version not serve your purpose?There are security concerns when programs set themselves us a http servers