1
1
1234n2019-12-12 07:56:58
linux
1234n, 2019-12-12 07:56:58

Give permission to Transmission to write a file to a directory?

the Transmission program works (Ubuntu 18.04, but it cannot write the downloaded file to the directory specified in the settings.
Through Samba I opened the folder, gave the rights 777. Through Wundows I see this folder, I throw files there, everything is ok. Umask = 0 in the settings. But Transmission does not can write anything there.
As I understand it, you need to give the client permission to write. What is the correct command? share?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Radjah, 2019-12-12
@Radjah

In the default installation, Transmission runs as the transmission user.
This is how you can fix it.
Look at the rights to the directory you are trying to download.
Stop the daemon sudo systemctl stop transmission-daemon.service
Start sudo systemctl edit transmission-daemon.service
Enter something like:

[Service]
User=твой_логин
Group=твоя_группа

Change the permissions on the data directory:
Run the daemon sudo systemctl start transmission-daemon.service
I'm creating a separate user for torrent downloaders on file cleaning sites, I also specify it in the samba server settings.
It turns out that the download is going well, and the files are writable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question