running it as root, tranmission-daemon is running as confirmed by systemctl (systemv) , and adding torrent with tranmission -a sometorrent.torrent, produces the error as seen in the web console (localhost:9091) as stated in the title. A stack trace shows: [pid 7417] open("/var/lib/transmission/config/torrents/mytorrentname.torrent.tmp.Z8RY3l", O_RDWR|O_CREAT|O_EXCL, 0600) = -1 ENOENT (No such file or directory) n" 7417 is the pid of tranmission-daemon download dir is where it saves DATA. config dir is where it saves RESUME data , this dir in the strace is not mentioned in the settings.json file provided by this program
AFAIK this directory is being created when the package is installed, which is why i'm filling this bug
The default settings for this program is that the dameon is run as user tranmission, but running transmission-remote as root prevents it from ps -u -p 7858 (the process id changed becuase it crashed): transmi+ 7858 0.1 0.0 194236 2484 ? Ssl 14:52 0:00 /usr/bin/transmissi The program creates the dirs it needs by default, but it can't in this case
Sorry, but I don't understand what you are trying to say. Several of your sentences seem to be cut off prematurely. Please restate the problem you are having, and the conditions under which the problem occurs.
commit ff7c2b479cd5485f64c70c244ecfcec75e89c036 Author: Mike Gilbert <floppym@gentoo.org> Date: Sat Apr 23 14:05:37 2016 -0400 net-p2p/transmission: Create /var/lib/transmission in postinst The openrc init script normally creates this, but this does not work for systemd users. Bug: https://bugs.gentoo.org/580932 Package-Manager: portage-2.2.28_p70 net-p2p/transmission/transmission-2.92.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
when you download a torrent with transmission-remote, it does not work properly, because transmission-daemon cannot create its own folders, because the user who ran transmission-remote is root, but the daemon user is 'transmission'. There's a user mismatch.
(In reply to cryptopsy from comment #5) > when you download a torrent with transmission-remote, it does not work > properly, because transmission-daemon cannot create its own folders, because > the user who ran transmission-remote is root, but the daemon user is > 'transmission'. There's a user mismatch. I made some changes to the ebuild to properly create /var/lib/transmission and set proper permissions.