Envoyé par
Geoffrey74
Avec un ls -al tu as la possibilité de voir les droits des fichiers, ainsi tu pourra voir si tu as les droits sur ton fichier test.
Que remonte le print ?
Le print me montre une seule fois le contenue du dossier "/var/lib/transmission-daemon/downloads" et s'arrête avant .
Résultat de ma page :
[ Torrent9.ws ] Dosseh - Yuri 2016 script1.py test
Je viens d'essayer avec "ls -al" et les fichiers appartiennent à l'utilisateur Root :
Résultat :
total 80 drwxr-xr-x 12 www-data www-data 4096 Dec 21 13:11 . drwxr-xr-x 7 root root 4096 Aug 26 12:48 .. drwxr-xr-x 3 root root 4096 Sep 27 12:46 LaPouki drwxr-xr-x 9 root root 4096 Aug 26 15:50 bootstrap -rw-r--r-- 1 root root 17 Aug 26 15:50 bootstrap 3.3.7 .txt drwxr-xr-x 3 root root 4096 Aug 26 15:50 images -rw-r--r-- 1 root root 485 Aug 26 15:50 images.html drwxr-xr-x 2 root root 4096 Aug 26 15:50 img -rw-r--r-- 1 root root 10338 Nov 8 00:20 index.html drwxr-xr-x 2 root root 4096 Aug 26 15:50 js drwxr-xr-x 5 root root 4096 Nov 20 18:37 open-eshop-2.6.0 -rw-r--r-- 1 root root 1311 Aug 31 17:01 recherche.php drwxr-xr-x 3 root root 4096 Aug 26 15:50 save drwxr-xr-x 3 root root 4096 Dec 5 13:12 streaming drwxr-xr-x 2 root root 4096 Aug 26 15:50 style -rw-r--r-- 1 root root 511 Aug 26 15:50 style.css drwxr-xr-x 3 root root 4096 Nov 21 18:45 tests -rw-r--r-- 1 root root 905 Dec 21 16:38 torrent2.php
Merci pour tes réponses.
Partager