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 11/02/2015, à 13:24

marcazer

(résolue)Permission sur deux DD

J'ai deux DD sur lequel c'est en root, ça va me poser un soucis sur le ACER pour utiliser uShar.

ls -la /mnt/ACER
total 749
drwxrwxrwx 1 root root  24576 févr. 11 06:48

J'ai essayer en graphique et ainsi:

marc1 @ marc1-Dell-DXP051  ~
└─ $ ▶ sudo chmod -R 777 /mnt/ACER

Mais je n'y arrive pas.
J'ai changer le nom, le montage, ça ne marche pas.
Je pense que c'est lié à un soucis avec le fstab, avec le c-d rom:
http://forum.ubuntu-fr.org/viewtopic.php?id=1726561


Merci de votre aide avisé!
Ps: je suis avec xubuntu voyager 14.04

Dernière modification par marcazer (Le 13/02/2015, à 08:16)


Momo

Hors ligne

#2 Le 11/02/2015, à 14:29

Braun

Re : (résolue)Permission sur deux DD

Bonjour,
Jusqu'à présent tu ne parles que des droits du point de montage, ce qui a fort peu à voir avec les droits du montage ... et, à propos, le montage de quoi ?
Nous donner ton /etc/fstab pourrait déjà être un petit pas en avant.

Hors ligne

#3 Le 11/02/2015, à 14:53

marcazer

Re : (résolue)Permission sur deux DD

Peut être me suis je mal exprimé, en effet:
Je voudrais accorder les permissions à mon DD à l'utilisateur, là il est en root;
mini_15021102571453565.png
voici mon fstab:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

#Entry for /dev/sdb1 :
UUID=78ef63a9-2b06-4c65-b14d-8eb0b7a38c8a    /    ext4    errors=remount-ro    0    1
#Entry for /dev/sda1 :
UUID=3E82B459621254CB    /media/marc1/3E82B459621254CB1    ntfs-3g    defaults,nosuid,nodev,locale=fr_FR.UTF-8    0    0
#Entry for /dev/sdc1 :
#Entry for /dev/sdb5 :
UUID=eff54a15-1d7f-4119-b95e-0006df96de85    none    swap    sw    0    0

/dev/media/cdrom /mnt/media/cdrom auto nosuid,nodev,nofail,x-gvfs-show,noauto 0 0
LABEL=ACER /mnt/ACER ntfs-3g defaults,nosuid,nodev,locale=fr_FR.UTF-8 0 0

Dernière modification par marcazer (Le 11/02/2015, à 14:58)


Momo

Hors ligne

#4 Le 11/02/2015, à 21:12

Braun

Re : (résolue)Permission sur deux DD

Bonsoir,
Ton disque est, semble-t-il, le sda1 et il est correctement monté avec si j'en crois ton image un accès autorisé à tous.
Peux tu nous donner la réponse de la commande :

ls -l  /media/marc1

et de la commande :

sudo ls -l  /media/marc1/3E82B459621254CB1

Hors ligne

#5 Le 12/02/2015, à 10:28

marcazer

Re : (résolue)Permission sur deux DD

Ok, il y a mon DD de la machine et dedant deux autres DD que j'ai récupérer sur des ordis;
voici:

marc1 @ marc1-Dell-DXP051  ~
└─ $ ▶ ls -l  /media/marc1
total 20
drwxr-xr-x 2 root root   4096 juin   6  2014 3E82B459621254CB
drwxrwxrwx 1 root root  12288 févr. 11 07:05 3E82B459621254CB1
drwxrwxrwx 2 root marc1  4096 juin   6  2014 ACER

et celui ci sert pour mes sauvegardes:

marc1 @ marc1-Dell-DXP051  ~
└─ $ ▶ sudo ls -l  /media/marc1/3E82B459621254CB1
[sudo] password for marc1: 
total 3340
drwxrwxrwx 1 root root   4096 déc.  13 10:40 2014-12-13_09.54.00.907983.marc1-Dell-DXP051.ful
drwxrwxrwx 1 root root      0 févr. 11 07:05 2015-02-11_07.04.54.901775.marc1-Dell-DXP051.corrupt
drwxrwxrwx 1 root root      0 févr. 11 07:05 2015-02-11_07.05.49.089824.marc1-Dell-DXP051.ful
-rwxrwxrwx 1 root root   4692 déc.  13  2013 as  ie.abw
-rwxrwxrwx 1 root root 815040 janv. 16  2014 certif ourse2014.pdf
-rwxrwxrwx 1 root root 324523 sept. 27  2013 contrat.pdf
-rwxrwxrwx 1 root root 114526 déc.   4 09:58 copie de telereglement_CFE_20141204_095742.pdf
drwxrwxrwx 1 root root   4096 août   4  2014 Course à pied
-rwxrwxrwx 1 root root  13838 sept.  9  2013 dimmesion combinaison Laborde.doc
drwxrwxrwx 1 root root   4096 févr. 11 07:03 Documents
-rwxrwxrwx 1 root root 951167 nov.   5  2013 Fac_AC18271.pdf
drwxrwxrwx 1 root root   4096 nov.   4 08:45 free 
-rwxrwxrwx 1 root root   4987 oct.  27  2013 freed s.doc
-rwxrwxrwx 1 root root  19444 juin   4  2013 Invoice_FR_HSB_DHSA_6406195260_2013-06-03.pdf
-rwxrwxrwx 1 root root 317776 sept. 27  2013 justificatif_achat.pdf
-rwxrwxrwx 1 root root 345368 août   2  2013 L'hyp e.pdf
-rwxrwxrwx 1 root root  10610 déc.  13  2013 mes assur .odt
-rwxrwxrwx 1 root root  18261 juin   2  2013 Order_FR_HSB_DHSA_32025595_2013-06-01.pdf
-rwxrwxrwx 1 root root  14122 juin  15  2011 Panneau  asse.odt
-rwxrwxrwx 1 root root  12800 sept.  5  2013 programme .doc
drwxrwxrwx 1 root root   4096 avril 23  2014 sauvegarde site
-rwxrwxrwx 1 root root 114526 déc.   4 09:58 telereglement_CFE_20141204_095742.pdf
-rwxrwxrwx 1 root root  27552 déc.  18  2012 texte  ion.odt
-rwxrwxrwx 1 root root 256595 oct.  23  2013 -inscription-2.jpg

Et celui dont j'ai vraiment besoin d'avoir les droits (marc1) , comme mon 1er message de se fil:

marc1 @ marc1-Dell-DXP051  ~
└─ $ ▶ ls -la /mnt/ACER
total 749
drwxrwxrwx 1 root root  24576 févr. 11 06:48 .
drwxr-xr-x 7 root root   4096 févr. 11 06:30 ..
drwxrwxrwx 1 root root   8192 déc.  13 09:49 boulot
-rwxrwxrwx 1 root root 114526 déc.   4 09:58 copie de telereglement_CFE_20141204_095742.pdf
-rwxrwxrwx 1 root root  14275 févr. 11 06:48 dimmesion combinaison Laborde.doc
drwxrwxrwx 1 root root   4096 avril 23  2014 donnée Garmin Etrex
drwxrwxrwx 1 root root   4096 mars  26  2012 Enfants
drwxrwxrwx 1 root root   4096 avril 23  2014 flyeur
drwxrwxrwx 1 root root   8192 déc.  13 09:48 GISELE
drwxrwxrwx 1 root root   8192 févr.  7 08:58 Gpx trace (1)
drwxrwxrwx 1 root root   4096 déc.  13 09:47 IMT
-rwxrwxrwx 1 root root  19444 juin   4  2013 Invoice_FR_HSB_DHSA_6406195260_2013-06-03.pdf
-rwxrwxrwx 1 root root 317776 sept. 27  2013 justificatif_achat.pdf
lrwxrwxrwx 1 root root     52 avril 17  2012 Lien vers Mes images -> /media/ACER/Mes images
drwxrwxrwx 1 root root  16384 nov.  16 11:27 logiciel windows
drwxrwxrwx 1 root root  24576 déc.  26 09:58 Mes images
drwxrwxrwx 1 root root   4096 avril 23  2014 Mes numérisations
drwxrwxrwx 1 root root   4096 févr. 11 07:28 musique
-rwxrwxrwx 1 root root  18261 juin   2  2013 Order_FR_HSB_DHSA_32025595_2013-06-01.pdf
drwxrwxrwx 1 root root   8192 déc.  10 09:01 outil linux
drwxrwxrwx 1 root root   4096 juil. 21  2014 Paolaire
drwxrwxrwx 1 root root   4096 juin  25  2014 Pac scan
drwxrwxrwx 1 root root  12288 févr. 11 08:13 ettre
drwxrwxrwx 1 root root   4096 janv. 28 07:42 site Marc
drwxrwxrwx 1 root root   4096 oct.   9 09:24 tac
-rwxrwxrwx 1 root root 114526 déc.   4 09:58 telereglement_CFE_20141204_095742.pdf
drwxrwxrwx 1 root root   4096 nov.   9 14:12 vtt

En effet le point de montage n'a rien à voir dans les droits et permission mais j'ai lu un fil d'un "xubutin" qui avait le même soucis et qui l'avait réglé en renomment et changeant le point de montage du DD.
Merci à toi de te pencher sur mon cas.

Dernière modification par marcazer (Le 12/02/2015, à 11:25)


Momo

Hors ligne

#6 Le 12/02/2015, à 11:59

Braun

Re : (résolue)Permission sur deux DD

Bonjour,
Si j'ai bien compris (on ne sait jamais) ton disque ACER est aussi du NTFS.
Ce que je te suggérerais est, non pas de changer les droits, mais de changer le propriétaire des points de montage /media/marc1/3E82B459621254CB1 et /mnt/ACER, voire peut être aussi /media/marc1 pour les mettre à ton nom.
N'oublie pas que tu ne peux pas modifier des droits sur un disque NTFS.

Hors ligne

#7 Le 12/02/2015, à 12:04

marcazer

Re : (résolue)Permission sur deux DD

ok, je ne sais pas faire ça, c'est ce que j'avais essayer de faire par "paramétrage", puis "disque" puis "modifier les options de montage". Comment procéder? Mon nom (de ma session) est marc1!

Dernière modification par marcazer (Le 12/02/2015, à 12:09)


Momo

Hors ligne

#8 Le 12/02/2015, à 13:33

Braun

Re : (résolue)Permission sur deux DD

sudo chown marc1 /media/marc1/3E82B459621254CB1

sauf erreur.

Hors ligne

#9 Le 12/02/2015, à 15:17

marcazer

Re : (résolue)Permission sur deux DD

Mais j'ai fait ça en 1er: 

marc1 @ marc1-Dell-DXP051  ~
└─ $ ▶ sudo chown marc1 /media/marc1/3E82B459621254CB1
[sudo] password for marc1: 
marc1 @ marc1-Dell-DXP051  ~
└─ $ ▶ sudo chown marc1 /mnt/ACER
marc1 @ marc1-Dell-DXP051  ~

puis:

marc1 @ marc1-Dell-DXP051  ~
└─ $ ▶ sudo chmod -R 777 /mnt/ACER

et aussi en graphique en administrateur, (voir mon 1er post!) mais ça ne donne rien!


Momo

Hors ligne

#10 Le 12/02/2015, à 16:25

Braun

Re : (résolue)Permission sur deux DD

Un détail m'avait échappé, il me semble que dans /etc/fstab tu devrais maintenant simplifier la ligne :

UUID=3E82B459621254CB    /media/marc1/3E82B459621254CB1    ntfs-3g    defaults,nosuid,nodev,locale=fr_FR.UTF-8    0    0

en

UUID=3E82B459621254CB    /media/marc1/3E82B459621254CB1    ntfs-3g    defaults   0    0

voire éventuellement (??) garder l'encodage

UUID=3E82B459621254CB    /media/marc1/3E82B459621254CB1    ntfs-3g    defaults,locale=fr_FR.UTF-8    0    0

redémarrer et refaire le test :

sudo ls -l  /media/marc1/3E82B459621254CB1

Hors ligne

#11 Le 12/02/2015, à 17:12

marcazer

Re : (résolue)Permission sur deux DD

ok, j'ai fais ça, redémarrer, toujours pas. J'abandonne, car  je me débrouille autrement, je te re merci, mais c'était pour configurer minildna
(J'ai une erreur de permission dans minildna pour ACER!)
Voir mon ACER en réseau sur une autre machine, hors il est (visiblement) trop gros de toute manière + problème de compatibilité des fichiers.... J'ai donc transféré les documents nécessaire dans un dossier sur "marc1" visible avec minidlna. ça fonctionne ainsi.
Je ne sais pas si je suis clair!
Grand Merci quand même à toi de ton aide.

Dernière modification par marcazer (Le 12/02/2015, à 17:19)


Momo

Hors ligne