Score:1

Transmission-daemon: cannot edit settings.json

ke flag

I want to edit Transmission-daemon's main config file located at /etc/transmission-daemon/settings.json but I am unable to, due to its default permissions:

/etc/transmission-daemon$ ls -lah
total 16K
drwxrwsr-x   2 root                debian-transmission 4.0K Mar 19 12:28 .
drwxr-xr-x 103 root                root                4.0K Mar 19 12:28 ..
-rw-r--r--   1 root                root                 303 Dec 19  2021 README.json
-rw-------   1 debian-transmission debian-transmission 2.4K Mar 19 12:28 settings.json

I'm new to Transmission so, assuming the user is supposed to edit settings.json, what is the safest way to allow editing?

Environment:

  • Ubuntu 22.04.2 LTS
  • transmission-daemon 3.00 (bb6b5a062e)

Thanks for your help.

Score:1
iq flag
`settings.json` is owned by the `debian-transmission` user and group, you should just use sudo to grant you the full rights, for example if you want to open the file with a text editor like `nano` do `sudo nano /etc/transmission-daemon/settings.json`

Once you have modified the file, restart transmission like that sudo systemctl restart transmission-daemon

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.