Safest way to change the permissions of this file

Safest way to change the permissions of this file so that I can can configure tor package repository and add :
deb [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org < Byzantium> main
deb-src [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org < Bytzantium> main

to tor.list file I created in /etc/apt/sources list.d

And received not a directory when trying to shift to it i tried to shift to the file in root as well. See pictures

A reply I received on the tor community forum stating : sudo echo “deb [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org byzantium main” > /etc/apt/sources.list.d/tor.list
sudo echo “deb-src [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org bytzantium main” >> /etc/apt/sources.list.d/tor.list
would add those lines to /etc/apt/sources.list.d/tor.list. However! “byzantium” is not a dist supported by deb.torproject.org, so it will not work. According to this article, byzantium is based on debian bullseye, so changing byzantium to bullseye above, may work, no guarantees.

Does anyone know if its safe to proceed with these commands using bullseye instead of byzantium?

I found what i was looking for this helped download tor client not browser docs.j7k6.org/tor-debian-install

i had to use gedit command

1 Like