I am trying to install transmission on my Ubuntu 14.04 server and I am unsure whether to skip this part or not. I am trying to give permissions to a folder with
sudo chmod -R 770 /etc/transmission-daemon/settings.json
but the output is
chmod: cannot operate on dangling symlink '/etc/transmission-daemon/settings.json
Am I doing something wrong or should I just skip this part or what?
I am following instructions from here: Install Transmission with web interface on Ubuntu, and I am at the end of step 5.
Update: Output of ls -l /etc/transmission-daemon/settings.json
:
lrwxrwxrwx 1 root debian-transmission 51 Oct 6 18:12 /etc/transmission-daemon/settings.json -> /home/cam/.config/transmission-daemon/settings.json
I guess the file doesn't exist because when I run cd /home/cam/.config/transmission-daemon
, then run dir
, nothing shows up.
/home/cam/.config/transmission-daemon/settings.json
exist?cd /home/cam/.config/transmission-daemon
and the dodir
nothing shows up. I would imagine the config file is a template so I don't want to just make my own. How could I transfer the config file there? Although I would have thought the instructions I'm following would have taken that into account.sudo cp -a /etc/transmission-daemon/settings.json transmission-daemon/
from the guide. Maybe you were in the wrong directory when you ran it (this guide is really not very good), trycp /etc/transmission-daemon/settings.json /home/user/.config/transmission-daemon
.mkdir /home/user/.config/transmission-daemon, sudo cp -a /etc/transmission-daemon/settings.json transmission-daemon/, sudo chgrp -R debian-transmission /home/user/.config/transmission-daemon, sudo chmod -R 770 /home/user/.config/transmission-daemon
thats from the instructionscp
command, it will only work if you are in the directory~/.config/transmission-daemon
when you run it. Since apparently the file has not been copied correctly, you probably were in another directory, so you need to run the command again to copy the file in the correct directory.