Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 18/01/2015, à 18:41

patacoincoin

freebox v6/lecture fichier PC

Bonsoir,
je suis sous ubuntu 14.04. freebox v6 server connecté au oc et freeplayer connecté à la tv grâce au freeplug.

je cherche à lire des fichiers stockés sur mon pc depuis ma tv avec la freebox v6.
J'ai installé plusieurs logiciels mais rien ne fonctionne.

Mediatomb : je ne peux ajouter le fichier, problème d'accès aux droits. Même soucis que la personne dans cette discussion
http://forum.ubuntu-fr.org/viewtopic.php?id=760261

j'ai ensuite tenté avec xbmc.
sur la tv, je vois xbmc mais une fois "dedans" l'arborescence classique est vide.
Rien dans music et video. Alors qu'à partir du pc dans les fichier précédents j'ai ajouté mes dossiers et ils sont visibles.

si quelqu'un pouvait m'aider...

Merci

Hors ligne

#2 Le 18/01/2015, à 19:30

erresse

Re : freebox v6/lecture fichier PC

Bonsoir,
Essaie plutôt "minidlna" et tu pourras naviguer dans tes fichiers vidéos via UPNP sur le module FreeTV.

sudo add-apt-repository ppa:djart/minidlna
sudo apt-get update
sudo apt-get install minidlna

C'est léger et, une fois installé et paramétré, c'est entièrement automatique.


Plus de 50 ans d'informatique, ça en fait des lignes de commandes en console, mais on n'avait pas le choix...
Excellente raison pour, aujourd'hui qu'on le peut, utiliser au maximum les INTERFACES GRAPHIQUES !
Important : Une fois résolu, pensez à clore votre sujet en ajoutant [Résolu] devant le titre du 1er message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Hors ligne

#3 Le 18/01/2015, à 19:34

patacoincoin

Re : freebox v6/lecture fichier PC

merci pour la réponse, je vais tester ce soir et posterai ensuite

Hors ligne

#4 Le 18/01/2015, à 19:59

patacoincoin

Re : freebox v6/lecture fichier PC

alors j'ai installé mais quand je choisis minidlna je tombe sur 4 dossiers : image/musique/parcourir les dossiers/vidéos
Mais tout est vide.
peut être faut il que je paramètre certaines choses depuis le pc, les fichiers à partager ?

Hors ligne

#5 Le 18/01/2015, à 20:29

patacoincoin

Re : freebox v6/lecture fichier PC

j'ai tenté d'éditer le fichier en faisant un copier/coller de la doc d'ubuntu.
J'ai changé le nom puis le répertoire de mes fichiers
Mais quand je redémarre en ligne de commande pour qu'il prenne en compte les modifications j'ai ça :
blackmamba@blackmamba:~$  sudo /etc/init.d/minidlna restart
* Restarting DLNA/UPnP-AV media server minidlna                                [2015/01/18 20:25:07] minidlna.c:594: error: Media directory "A,/media/blackmamba/données/Musique" not accessible [Permission non accordée]
[2015/01/18 20:25:07] minidlna.c:594: error: Media directory "P,/media/blackmamba/données/Images" not accessible [Permission non accordée]
[2015/01/18 20:25:07] minidlna.c:594: error: Media directory "V,/media/blackmamba/données/vidéos" not accessible [Permission non accordée]

ok, c'est une histoire de droit, j'ai fait un chmod sur le répertoire images mais il apparaît encore
j'ai également testé la solution d'ajourt de la ligne GROUP="blackmamba" pour moi mais rien n'a marché
Des idées ?

Hors ligne

#6 Le 18/01/2015, à 20:47

patacoincoin

Re : freebox v6/lecture fichier PC

du coup en plus je n'ai plus accès du tout maintenant à minidlna sur la tv car il n'est plus affiché...
grrrr

Hors ligne

#7 Le 19/01/2015, à 00:08

jajaX

Re : freebox v6/lecture fichier PC

salut,

regarde ça wink


@+
jajaX
Asus X93SM-YZ157V / Asus X93SM-YZ065V sous KDE Neon
ASUS K95VB sous Kubuntu 22.04 Jammy Jellyfish (64 bits) / ACER Aspire 5612 WLMI sous Kubuntu 18.04 Bionic Beaver (32 bits)

Hors ligne

#8 Le 19/01/2015, à 12:45

erresse

Re : freebox v6/lecture fichier PC

Si tu as consulté la doc Ubuntu pour minidlna, en cherchant comment paramétrer le fichier de configuration, tu as du remarquer :
1421667707.png
L'avertissement en rouge, indique que le groupe / utilisateur est "minidlna", d'où ce problème de droit d'accès refusé...


Plus de 50 ans d'informatique, ça en fait des lignes de commandes en console, mais on n'avait pas le choix...
Excellente raison pour, aujourd'hui qu'on le peut, utiliser au maximum les INTERFACES GRAPHIQUES !
Important : Une fois résolu, pensez à clore votre sujet en ajoutant [Résolu] devant le titre du 1er message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Hors ligne

#9 Le 19/01/2015, à 17:51

patacoincoin

Re : freebox v6/lecture fichier PC

alors, erresse,
j'ai ajouté la ligne GROUP="blackmamba" comme il a été dit dans la doc car je n'avais pas accès aux dossiers.
Je viens de modifié la ligne et il y a maintenant sous GROUP="minidlna" et le problème reste le même, j'ai ça comme retour après redémarrage :
Restarting DLNA/UPnP-AV media server minidlna                                [2015/01/19 17:48:58] minidlna.c:594: error: Media directory "A,/media/blackmamba/données/Musique" not accessible [Permission non accordée]
[2015/01/19 17:48:58] minidlna.c:594: error: Media directory "P,/media/blackmamba/données/Images" not accessible [Permission non accordée]
[2015/01/19 17:48:58] minidlna.c:594: error: Media directory "V,/media/blackmamba/données/vidéos" not accessible [Permission non accordée]

Hors ligne

#10 Le 19/01/2015, à 17:53

patacoincoin

Re : freebox v6/lecture fichier PC

et pour jajaX,
si j'ai bien compris ta solution renvoie vers ce doc d'ubuntu où il demande d'ajouter la ligne :
GROUP="user"
Mon user est blackmamba donc j'avais mis cela au début

Hors ligne

#11 Le 19/01/2015, à 18:00

erresse

Re : freebox v6/lecture fichier PC

Est-ce que tu pourrais lister ton fichier de configuration /etc/minidlna ? Je te liste ici le mien, pour comparer :

# port for HTTP (descriptions, SOAP, media transfer) traffic
port=8200

# network interfaces to serve, comma delimited
#network_interface=eth0

# set this to the directory you want scanned.
# * if have multiple directories, you can have multiple media_dir= lines
# * if you want to restrict a media_dir to a specific content type, you
#   can prepend the type, followed by a comma, to the directory:
#   + "A" for audio  (eg. media_dir=A,/home/jmaggard/Music)
#   + "V" for video  (eg. media_dir=V,/home/jmaggard/Videos)
#   + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
media_dir=V,/home/roger/Videos
media_dir=A,/home/roger/Musique
media_dir=P,/home/roger/Images

# set this if you want to customize the name that shows up on your clients
friendly_name=Serveur DLNA

# set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache
db_dir=/home/roger/MiniDLNA

# set this if you would like to specify the directory where you want MiniDLNA to store its log file
log_dir=/home/roger/MiniDLNA/log

# set this to change the verbosity of the information that is logged
# each section can use a different level: off, fatal, error, warn, info, or debug
#log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn

# this should be a list of file names to check for when searching for album art
# note: names should be delimited with a forward slash ("/")
album_art_names=art.jpg/Art.jpg/front.jpg/Front.jpg/Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg

# set this to no to disable inotify monitoring to automatically discover new files
# note: the default is yes
inotify=yes

# set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO
enable_tivo=no

# set this to strictly adhere to DLNA standards.
# * This will allow server-side downscaling of very large JPEG images,
#   which may hurt JPEG serving performance on (at least) Sony DLNA products.
strict_dlna=no

# default presentation url is http address on port 80
#presentation_url=http://www.mylan/index.php

# notify interval in seconds. default is 895 seconds.
notify_interval=900

# serial and model number the daemon will report to clients
# in its XML description
serial=12345678
model_number=1

# specify the path to the MiniSSDPd socket
#minissdpdsocket=/var/run/minissdpd.sock

# use different container as root of the tree
# possible values:
#   + "." - use standard container (this is the default)
#   + "B" - "Browse Directory"
#   + "M" - "Music"
#   + "V" - "Video"
#   + "P" - "Pictures"
# if you specify "B" and client device is audio-only then "Music/Folders" will be used as root
#root_container=.

Est-ce que tu as les mêmes valeurs ? (exception faite des chemins vers les dossiers, bien sûr...)


Plus de 50 ans d'informatique, ça en fait des lignes de commandes en console, mais on n'avait pas le choix...
Excellente raison pour, aujourd'hui qu'on le peut, utiliser au maximum les INTERFACES GRAPHIQUES !
Important : Une fois résolu, pensez à clore votre sujet en ajoutant [Résolu] devant le titre du 1er message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Hors ligne

#12 Le 19/01/2015, à 18:12

patacoincoin

Re : freebox v6/lecture fichier PC

# port for HTTP (descriptions, SOAP, media transfer) traffic
port=49200

# network interface to bind to (this is the only interface that will serve files)
network_interface=eth0

# set this to the directory you want scanned.
# * if have multiple directories, you can have multiple media_dir= lines
# * if you want to restrict a media_dir to a specific content type, you
#   can prepend the type, followed by a comma, to the directory:
#   + "A" for audio  (eg. media_dir=A,/home/jmaggard/Music)
#   + "V" for video  (eg. media_dir=V,/home/jmaggard/Videos)
#   + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
media_dir=A,/media/blackmamba/données/Musique
media_dir=P,/media/blackmamba/données/Images
media_dir=V,/media/blackmamba/données/vidéos

# set this if you want to customize the name that shows up on your clients
friendly_name=PC blackmamba

# set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache
db_dir=/var/cache/minidlna

# this should be a list of file names to check for when searching for album art
# note: names should be delimited with a forward slash ("/")
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg

# set this to no to disable inotify monitoring to automatically discover new files
# note: the default is yes
inotify=yes

# set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO
enable_tivo=no

# set this to strictly adhere to DLNA standards.
# * This will allow server-side downscaling of very large JPEG images,
#   which may hurt JPEG serving performance on (at least) Sony DLNA products.
strict_dlna=no

# default presentation url is http address on port 80
#presentation_url=http://www.mylan/index.php

# notify interval in seconds. default is 895 seconds.
notify_interval=900

# serial and model number the daemon will report to clients
# in its XML description
serial=12345678
model_number=1

Hors ligne

#13 Le 19/01/2015, à 18:14

patacoincoin

Re : freebox v6/lecture fichier PC

je suis en train de me demander si le probleme ne vient pas de network interfcace ?
la freebox player est relié avec le freeplug, donc pas en ethernet ni wifi non ?

Hors ligne

#14 Le 19/01/2015, à 18:15

patacoincoin

Re : freebox v6/lecture fichier PC

même si cela n'explique pas les droits d'accès...

Hors ligne

#15 Le 19/01/2015, à 18:20

erresse

Re : freebox v6/lecture fichier PC

le freeplug, c'est ethernet, pas de souci. Je jette un coup d'oeil à ton fichier et je te dis quoi ...


Plus de 50 ans d'informatique, ça en fait des lignes de commandes en console, mais on n'avait pas le choix...
Excellente raison pour, aujourd'hui qu'on le peut, utiliser au maximum les INTERFACES GRAPHIQUES !
Important : Une fois résolu, pensez à clore votre sujet en ajoutant [Résolu] devant le titre du 1er message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Hors ligne

#16 Le 19/01/2015, à 18:40

erresse

Re : freebox v6/lecture fichier PC

Essaie de remplacer le contenu de ton fichier /etc/minidlna par celui-ci.

# port for HTTP (descriptions, SOAP, media transfer) traffic
port=8200

# network interface to bind to (this is the only interface that will serve files)
network_interface=eth0

# set this to the directory you want scanned.
# * if have multiple directories, you can have multiple media_dir= lines
# * if you want to restrict a media_dir to a specific content type, you
#   can prepend the type, followed by a comma, to the directory:
#   + "A" for audio  (eg. media_dir=A,/home/jmaggard/Music)
#   + "V" for video  (eg. media_dir=V,/home/jmaggard/Videos)
#   + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
media_dir=A,/media/blackmamba/données/Musique
media_dir=P,/media/blackmamba/données/Images
media_dir=V,/media/blackmamba/données/vidéos

# set this if you want to customize the name that shows up on your clients
friendly_name=PC blackmamba

# set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache
db_dir=/home/blackmamba/MiniDLNA

# set this if you would like to specify the directory where you want MiniDLNA to store its log file
log_dir=/home/blackmamba/MiniDLNA/log

# this should be a list of file names to check for when searching for album art
# note: names should be delimited with a forward slash ("/")
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg

# set this to no to disable inotify monitoring to automatically discover new files
# note: the default is yes
inotify=yes

# set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO
enable_tivo=no

# set this to strictly adhere to DLNA standards.
# * This will allow server-side downscaling of very large JPEG images,
#   which may hurt JPEG serving performance on (at least) Sony DLNA products.
strict_dlna=no

# default presentation url is http address on port 80
#presentation_url=http://www.mylan/index.php

# notify interval in seconds. default is 895 seconds.
notify_interval=900

# serial and model number the daemon will report to clients
# in its XML description
serial=12345678
model_number=1

On va voir si ça améliore la chose.


Plus de 50 ans d'informatique, ça en fait des lignes de commandes en console, mais on n'avait pas le choix...
Excellente raison pour, aujourd'hui qu'on le peut, utiliser au maximum les INTERFACES GRAPHIQUES !
Important : Une fois résolu, pensez à clore votre sujet en ajoutant [Résolu] devant le titre du 1er message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Hors ligne

#17 Le 19/01/2015, à 18:46

patacoincoin

Re : freebox v6/lecture fichier PC

pas trop apparemment :
blackmamba@blackmamba:~$ sudo /etc/init.d/minidlna restart
* Restarting DLNA/UPnP-AV media server minidlna                                [2015/01/19 18:45:23] minidlna.c:594: error: Media directory "A,/media/blackmamba/données/Musique" not accessible [Permission non accordée]
[2015/01/19 18:45:23] minidlna.c:594: error: Media directory "P,/media/blackmamba/données/Images" not accessible [Permission non accordée]
[2015/01/19 18:45:23] minidlna.c:594: error: Media directory "V,/media/blackmamba/données/vidéos" not accessible [Permission non accordée]
[2015/01/19 18:45:23] utils.c:292: warn: make_dir: cannot create directory '/home/blackmamba/MiniDLNA'
[2015/01/19 18:45:23] minidlna.c:638: fatal: Database path not accessible! [/home/blackmamba/MiniDLNA]
                                                                         [fail]

Hors ligne

#18 Le 19/01/2015, à 19:08

erresse

Re : freebox v6/lecture fichier PC

Toujours le problème de droits... On peut voir ce que donne ceci :

ls -l /
ls -l /media
ls -l /media/blackmamba
ls -l /media/blackmamba/données

Met tes retours entre balises code (le <> bleu de la barre d'outils), c'est plus lisible.


Plus de 50 ans d'informatique, ça en fait des lignes de commandes en console, mais on n'avait pas le choix...
Excellente raison pour, aujourd'hui qu'on le peut, utiliser au maximum les INTERFACES GRAPHIQUES !
Important : Une fois résolu, pensez à clore votre sujet en ajoutant [Résolu] devant le titre du 1er message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Hors ligne

#19 Le 19/01/2015, à 19:17

bishop

Re : freebox v6/lecture fichier PC

Salut patacoincoin !
C'est peut être root qui a les droits sur /media/blackmamba/.
Si c'est le cas tu auras toujours ce message  - not accessible [Permission non accordée] -

Tu peux essayer de récupérer les droits en faisant :

sudo chown -R 1000:1000 /media/blackmamba/

Si 1000 est ton UID (uid=1000 et groupes=1000). Pour savoir :

id

Tu redémarres ton ordi et tu essaies.

Grillé par eresse yikes > roll > lol

Dernière modification par bishop (Le 19/01/2015, à 19:20)


La plus grande surprise que puisse faire un con c'est de faire une pause.

Hors ligne

#20 Le 19/01/2015, à 19:53

patacoincoin

Re : freebox v6/lecture fichier PC

alors, dans l'ordre :

total 96
drwxr-xr-x   2 root root  4096 janv. 18 12:09 bin
drwxr-xr-x   3 root root  4096 janv. 13 20:09 boot
drwxrwxr-x   2 root root  4096 juin   1  2014 cdrom
drwxr-xr-x  15 root root  4240 janv. 19 17:41 dev
drwxr-xr-x 141 root root 12288 janv. 19 18:45 etc
drwxr-xr-x   3 root root  4096 juin   1  2014 home
lrwxrwxrwx   1 root root    33 janv. 13 20:08 initrd.img -> boot/initrd.img-3.13.0-44-generic
lrwxrwxrwx   1 root root    33 déc.  16 22:22 initrd.img.old -> boot/initrd.img-3.13.0-43-generic
drwxr-xr-x  23 root root  4096 juin   1  2014 lib
drwxr-xr-x   2 root root  4096 janv. 18 11:50 lib64
drwx------   2 root root 16384 juin   1  2014 lost+found
drwxr-xr-x   3 root root  4096 juin   1  2014 media
drwxr-xr-x   2 root root  4096 avril 11  2014 mnt
drwxr-xr-x   3 root root  4096 janv.  6 17:36 opt
dr-xr-xr-x 204 root root     0 janv. 19 17:41 proc
drwx------   7 root root  4096 janv. 18 12:02 root
drwxr-xr-x  24 root root   760 janv. 19 18:45 run
drwxr-xr-x   2 root root 12288 janv. 18 11:50 sbin
drwxr-xr-x   2 root root  4096 avril 17  2014 srv
dr-xr-xr-x  13 root root     0 janv. 19 17:41 sys
drwxrwxrwt   4 root root  4096 janv. 19 19:17 tmp
drwxr-xr-x  10 root root  4096 avril 17  2014 usr
drwxr-xr-x  13 root root  4096 avril 17  2014 var
lrwxrwxrwx   1 root root    30 janv. 13 20:08 vmlinuz -> boot/vmlinuz-3.13.0-44-generic
lrwxrwxrwx   1 root root    30 déc.  16 22:22 vmlinuz.old -> boot/vmlinuz-3.13.0-43-generic
total 4
drwxr-x---+ 3 root root 4096 janv. 19 17:48 blackmamba
total 4
drwxrwxrwx 115 root root 4096 janv. 14 13:42 données
total 3604
drwxrwxrwx   5 blackmamba blackmamba 135168 janv. 15 02:14 Documents sarah
drwxrwxr-x  39 blackmamba blackmamba   4096 janv.  5 13:11 Images
drwxrwxrwx   5 blackmamba blackmamba 458752 août   2 12:15 images recup
drwxrwxrwx   2 root       root        16384 juin   1  2014 lost+found
drwxrwxrwx   3 blackmamba blackmamba   4096 juin  27  2014 Méolée TPS
drwxrwxrwx 641 blackmamba blackmamba  40960 janv.  3 11:49 Musique 
drwxrwxrwx   8 blackmamba blackmamba   4096 sept. 11 11:43 Musique sarah
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.100
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.101
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.102
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.103
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.104
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.105
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.106
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.107
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.108
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.109
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.110
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.111
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.112
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.113
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.114
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.115
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.116
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.117
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.118
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.119
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.120
drwxrwxrwx   2 root       root        28672 juil.  1  2014 recup_dir.121
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.122
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.123
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.124
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.125
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.126
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.127
drwxrwxrwx   2 root       root        28672 juil.  1  2014 recup_dir.128
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.129
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.130
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.131
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.132
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.133
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.134
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.135
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.136
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.137
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.138
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.139
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.140
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.141
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.142
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.143
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.144
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.145
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.146
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.147
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.148
drwxrwxrwx   2 root       root        28672 juil.  1  2014 recup_dir.149
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.150
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.151
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.152
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.153
drwxrwxrwx   2 root       root        24576 juil.  1  2014 recup_dir.154
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.155
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.156
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.157
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.158
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.159
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.160
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.161
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.162
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.163
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.164
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.165
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.166
drwxrwxrwx   2 root       root        24576 juil.  1  2014 recup_dir.167
drwxrwxrwx   2 root       root        28672 juil.  1  2014 recup_dir.168
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.169
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.170
drwxrwxrwx   2 root       root        28672 juil.  1  2014 recup_dir.171
drwxrwxrwx   2 root       root        32768 juil.  1  2014 recup_dir.172
drwxrwxrwx   2 root       root        28672 juil.  1  2014 recup_dir.173
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.174
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.175
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.176
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.177
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.178
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.179
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.180
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.181
drwxrwxrwx   2 root       root        24576 juil.  1  2014 recup_dir.182
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.183
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.82
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.83
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.84
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.85
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.86
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.87
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.88
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.89
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.90
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.91
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.92
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.93
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.94
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.95
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.96
drwxrwxrwx   2 root       root        36864 juil.  1  2014 recup_dir.97
drwxrwxrwx   2 root       root        24576 juil.  1  2014 recup_dir.98
drwxrwxrwx   2 root       root        20480 juil.  1  2014 recup_dir.99
drwxrwxrwx   2 blackmamba blackmamba   4096 juin  28  2014 Spectacle enfants téva et méolée
-rwxrwxrwx   1 blackmamba blackmamba  52986 nov.  11 16:48 téva.odt
drwxrwxrwx   6 blackmamba blackmamba   4096 janv. 11 21:43 Thomas
drwxrwxrwx  13 blackmamba blackmamba   4096 janv. 18 18:17 vidéos

Hors ligne

#21 Le 19/01/2015, à 19:57

patacoincoin

Re : freebox v6/lecture fichier PC

pour bishop, j'ai fait id et j'ai eu

uid=1000(blackmamba) gid=1000(blackmamba) groupes=1000(blackmamba),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),105(fuse),108(lpadmin),124(sambashare)

j'ai donc fait :sudo chown -R 1000:1000 /media/blackmamba/

j'ai redémarré et eu le même message :

blackmamba@blackmamba:~$ sudo /etc/init.d/minidlna restart 
 * Restarting DLNA/UPnP-AV media server minidlna                                [2015/01/19 19:56:23] minidlna.c:594: error: Media directory "A,/media/blackmamba/données/Musique" not accessible [Permission non accordée]
[2015/01/19 19:56:23] minidlna.c:594: error: Media directory "P,/media/blackmamba/données/Images" not accessible [Permission non accordée]
[2015/01/19 19:56:23] minidlna.c:594: error: Media directory "V,/media/blackmamba/données/vidéos" not accessible [Permission non accordée]
[2015/01/19 19:56:23] utils.c:292: warn: make_dir: cannot create directory '/home/blackmamba/MiniDLNA'
[2015/01/19 19:56:23] minidlna.c:638: fatal: Database path not accessible! [/home/blackmamba/MiniDLNA]
                                                                         [fail]

Hors ligne

#22 Le 19/01/2015, à 20:43

erresse

Re : freebox v6/lecture fichier PC

Effectivement, les répertoires /media/blackmamba et /media/blackmamba/données sont la propriété de "root" et non de "blackmamba".
De plus, les droits sur /media/blackmamba n'autorisent pas l'accès aux "autres" (lecture/écriture/exécution pour le propriétaire, lecture/exécution pour le groupe et rien pour les "autres"). C'est certainement ce qui empêche minidlna d'accéder aux fichiers.
Il faut t'approprier (comme l'a indiqué bishop) ces deux répertoires et étendre les droits dessus.

sudo chown blackmamba:blackmamba /media/blackmamba
sudo chown blackmamba:blackmamba /media/blackmamba/données
sudo chmod 777 /media/blackmamba

Après, ça devrait être mieux.


Plus de 50 ans d'informatique, ça en fait des lignes de commandes en console, mais on n'avait pas le choix...
Excellente raison pour, aujourd'hui qu'on le peut, utiliser au maximum les INTERFACES GRAPHIQUES !
Important : Une fois résolu, pensez à clore votre sujet en ajoutant [Résolu] devant le titre du 1er message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Hors ligne

#23 Le 19/01/2015, à 20:51

patacoincoin

Re : freebox v6/lecture fichier PC

Merci erresse de prendre le temps....

alors j'ai bien tapé les 3 lignes de commandes.
J'ai redémarré ensuite minidlna et :

blackmamba@blackmamba:~$ sudo /etc/init.d/minidlna restart 
 * Restarting DLNA/UPnP-AV media server minidlna                                [2015/01/19 20:47:56] minidlna.c:594: error: Media directory "A,/media/blackmamba/données/Musique" not accessible [Aucun fichier ou dossier de ce type]
[2015/01/19 20:47:56] utils.c:292: warn: make_dir: cannot create directory '/home/blackmamba/MiniDLNA'
[2015/01/19 20:47:56] minidlna.c:638: fatal: Database path not accessible! [/home/blackmamba/MiniDLNA]
                                                                         [fail]

Hors ligne

#24 Le 19/01/2015, à 20:53

bishop

Re : freebox v6/lecture fichier PC

Re-grillé par erresse... roll

Tu peux aussi essayer de réapproprié le répertoire media car...
Je vois dans le poste #20 :

drwxr-xr-x   3 root root  4096 juin   1  2014 media

Le propriétaire de media est root.


Sur ma bécane je suis propriétaire du répertoire media :
Propriétaire : Moi
Groupe : bishop


Tu peux donc faire :

sudo chown -R 1000:1000 /media

ou si ça ne veut pas :

sudo -s
chown -R 1000:1000 /media
exit

La plus grande surprise que puisse faire un con c'est de faire une pause.

Hors ligne

#25 Le 19/01/2015, à 20:53

patacoincoin

Re : freebox v6/lecture fichier PC

Mais ce qui m'embête aussi et que par la freebox sur la tv, je ne vois plus minidlna de disponible dans "mes disques".
Est ce normal car minidlna "plante" en redémarrant ou y a t il un autre soucis ?

Hors ligne