Wenn ich ein Programm wie im Artikel beschrieben installiere, dann bin ich selbst der Dateieigentümer. Sollte das nicht eigentlich root sein?
Beispiel: manuelle Installation von FreeDoko (Das Programm ist willkürlich gewählt. Ich spiele nicht einmal Doppelkopf, aber darum geht es ja nicht.)
a@A:~$ sudo mv /home/a/Downloads/FreeDoko_0.7.11 /opt
a@A:~$ ll -a /opt/FreeDoko_0.7.11/
insgesamt 3068
drwxrwxr-x 9 a a 4096 2011-12-18 09:05 .
drwxr-xr-x 3 root root 4096 2012-01-25 19:53 ..
drwxr-xr-x 2 a a 4096 2008-09-25 20:01 ai
-rw-r--r-- 1 a a 103 2011-12-18 09:05 AUTHORS
drwxrwxr-x 2 a a 4096 2011-12-18 09:05 backgrounds
drwxrwxr-x 4 a a 4096 2011-12-18 09:05 cardsets
-rw-rw-r-- 1 a a 175642 2011-12-18 09:05 ChangeLog
-rw-r--r-- 1 a a 18332 2011-12-18 09:05 COPYING
drwxrwxr-x 6 a a 4096 2011-12-18 09:05 doc
-rwxr-xr-x 1 a a 2820688 2011-12-18 09:05 FreeDoko
-rw-r--r-- 1 a a 9146 2011-12-18 09:05 icon.png
-rw-r--r-- 1 a a 520 2011-12-18 09:05 LIESMICH
-rw-r--r-- 1 a a 48582 2011-12-18 09:05 logo.png
-rw-r--r-- 1 a a 194 2011-12-18 09:05 README
drwxr-xr-x 2 a a 4096 2009-09-27 21:33 rules
drwxrwxr-x 4 a a 4096 2011-12-18 09:05 sounds
drwxr-xr-x 6 a a 4096 2011-04-07 22:42 translations
-rw-r--r-- 1 a a 41 2011-12-18 09:05 Version
Ich würde folgendes Vorgehen in den Artikel schreiben:
entpacken
sudo cp -a --no-preserve=owner ordner /opt/
rm -r ordner
alternativ:
entpacken
sudo mv ordner /opt/
sudo chown -R root:root /opt/ordner/
(oder eben in einem root-Dateimanager, auch wenn dort z.B. ein rekursives chown ggf. nicht so einfach ist)
Irgendwelche Einwände?