Bonjour à tous!
Tout d'abord, merci pour les tutos RuTorrent et CakeBox-Light qui sont de très bonne qualité et fonctionnel.
Je suis parti d'un serveur sous Debian 7 64bits from scratch, et j'ai suivi ces tutos :
Installer ruTorrent sur Debian {nginx & php-fpm}
Redirection automatique vers du https:// {nginx}
Installer Cakebox-light {nginx}
Tout fonctionne très bien, mais je rencontre un problème concernant la suppression de fichier via Cakebox-light.
Dans le fichier :
/var/www/cakebox/config/b0t.php
J'ai modifié la ligne suivante afin que l'utilisateur puisse supprimer les fichiers :
$app["rights.canDelete"] = true;
Cependant, lors du clic pour la suppression, j'obtiens ce message d'erreur :
Voici un ls de mon /home, /home/b0t, et /home/b0t/torrents :
#ls -lah /home/
total 12K
drwxr-xr-x 3 root root 4.0K Sep 7 13:16 .
drwxr-xr-x 22 root root 4.0K Sep 7 12:53 ..
drwxr-xr-x 5 root b0t 4.0K Sep 7 10:51 b0t
# ls -lah /home/b0t/
total 24K
drwxr-xr-x 5 root b0t 4.0K Sep 7 10:51 .
drwxr-xr-x 3 root root 4.0K Sep 7 13:16 ..
-rw-r--r-- 1 b0t b0t 648 Sep 7 11:02 .rtorrent.rc
drwxr-xr-x 2 b0t b0t 4.0K Sep 7 13:35 .session
drwxr-xr-x 2 b0t b0t 4.0K Sep 7 13:28 torrents
drwxr-xr-x 2 b0t b0t 4.0K Sep 7 10:48 watch
# ls -lah /home/b0t/torrents/
total 8.0K
drwxr-xr-x 2 b0t b0t 4.0K Sep 7 13:28 .
drwxr-xr-x 5 root b0t 4.0K Sep 7 10:51 ..
-rw-r--r-- 1 b0t b0t 0 Sep 7 13:28 test.txt
J'imagine qu'il s'agit d'un problème de droit d'écriture sur le dossier /home/b0t/torrents, et je souhaiterais avoir un conseil pour modifier ça de façon sûre.
Merci d'avance pour votre aide.
PS : j'ai essayé de faire un test en créant un autre utilisateur, mais le résultat est le même