Droit d'ecriture avec Archiveur
Gedeon
-
synopsis8 Messages postés 1364 Date d'inscription Statut Membre Dernière intervention -
synopsis8 Messages postés 1364 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
Lorsque je veux créer une archive dans ma partition de données (ntfs) j'obtiens le message d'erreur "Vous n'avez pas le droit d'écriture dans le dossier /Sda2"
Alors que dans ce même dossier avec le clic droit sous Konqueror je peux créer sans problème un fichier texte ou autre.
Quelqu'un a t il une explication ?
Merci
Lorsque je veux créer une archive dans ma partition de données (ntfs) j'obtiens le message d'erreur "Vous n'avez pas le droit d'écriture dans le dossier /Sda2"
Alors que dans ce même dossier avec le clic droit sous Konqueror je peux créer sans problème un fichier texte ou autre.
Quelqu'un a t il une explication ?
Merci
A voir également:
- Droit d'ecriture avec Archiveur
- Écriture facebook - Guide
- Ecriture en gras - Guide
- Ecriture instagram - Guide
- Procès-verbal en droit français - Guide
- Écriture à l'envers miroir - Guide
16 réponses
Salut ,
j'ai executer la commande ls -l
et enregistré l'écran contenant la réponse.
comment inclure l'image dans cette réponse ?
j'ai executer la commande ls -l
et enregistré l'écran contenant la réponse.
comment inclure l'image dans cette réponse ?
voila avec un copier coller :
gerard@localhost ~]$ ls -l /media/hd2
total 408977
drwxrwxrwx 1 root root 4096 2008-12-11 15:43 démarrage KDE_fichiers/
-rwxrwxrwx 1 root root 78 2008-11-23 17:18 desktop.ini*
-rwxrwxrwx 1 root root 2 2005-09-10 10:25 Fichier texte*
drwxrwxrwx 1 root root 4096 2011-08-29 19:29 Gérard/
drwxrwxrwx 1 root root 28672 2011-08-21 19:50 images/
drwxrwxrwx 1 root root 4096 2010-06-10 11:17 Ma musique/
drwxrwxrwx 1 root root 4096 2010-06-23 22:39 Mes Google Gadgets/
drwxrwxrwx 1 root root 4096 2010-12-17 22:14 Mes images/
drwxrwxrwx 1 root root 0 2010-09-03 17:17 Mes vidéos/
drwxrwxrwx 1 root root 4096 2011-02-02 14:13 Pascal/
-rwxrwxrwx 2 root root 258002 2009-01-11 21:53 PRIX 2.DBF*
-rwxrwxrwx 2 root root 260914 2009-01-11 21:46 PRIX EXP.DBF*
drwxrwxrwx 1 root root 0 2008-10-16 16:51 RECYCLER/
-rwxrwxrwx 1 root root 418202676 2011-08-29 18:54 sauvegarde 1.tar.bz2*
drwxrwxrwx 1 root root 4096 2010-11-10 14:02 soliaflor/
drwxrwxrwx 1 root root 4096 2011-03-03 16:00 SOPAGE/
drwxrwxrwx 1 root root 4096 2008-10-16 15:25 System Volume Information/
[gerard@localhost ~]$
gerard@localhost ~]$ ls -l /media/hd2
total 408977
drwxrwxrwx 1 root root 4096 2008-12-11 15:43 démarrage KDE_fichiers/
-rwxrwxrwx 1 root root 78 2008-11-23 17:18 desktop.ini*
-rwxrwxrwx 1 root root 2 2005-09-10 10:25 Fichier texte*
drwxrwxrwx 1 root root 4096 2011-08-29 19:29 Gérard/
drwxrwxrwx 1 root root 28672 2011-08-21 19:50 images/
drwxrwxrwx 1 root root 4096 2010-06-10 11:17 Ma musique/
drwxrwxrwx 1 root root 4096 2010-06-23 22:39 Mes Google Gadgets/
drwxrwxrwx 1 root root 4096 2010-12-17 22:14 Mes images/
drwxrwxrwx 1 root root 0 2010-09-03 17:17 Mes vidéos/
drwxrwxrwx 1 root root 4096 2011-02-02 14:13 Pascal/
-rwxrwxrwx 2 root root 258002 2009-01-11 21:53 PRIX 2.DBF*
-rwxrwxrwx 2 root root 260914 2009-01-11 21:46 PRIX EXP.DBF*
drwxrwxrwx 1 root root 0 2008-10-16 16:51 RECYCLER/
-rwxrwxrwx 1 root root 418202676 2011-08-29 18:54 sauvegarde 1.tar.bz2*
drwxrwxrwx 1 root root 4096 2010-11-10 14:02 soliaflor/
drwxrwxrwx 1 root root 4096 2011-03-03 16:00 SOPAGE/
drwxrwxrwx 1 root root 4096 2008-10-16 15:25 System Volume Information/
[gerard@localhost ~]$
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
C'est 3 fois rien, c'est juste dans l'utilisation de ton archiveur.
Il te faut créer ton archive dans /media/hda2 où tu as bien les droits d'écriture et pas dans /sda2.
Vieux Core 2 Duo cadencé à 3GHZ avec 6 GB de Ram.
Il te faut créer ton archive dans /media/hda2 où tu as bien les droits d'écriture et pas dans /sda2.
Vieux Core 2 Duo cadencé à 3GHZ avec 6 GB de Ram.
Je ne vois pas trop la différence entre les deux:
dev/sda2 étant le périphérique
et media/hd2 étant le point de montage
sous konqueror lorsque je clique sur la partition données elle est automatiquement nommée dev/sda2.
quelque chose m'échappe mais je ne vois pas quoi....
dev/sda2 étant le périphérique
et media/hd2 étant le point de montage
sous konqueror lorsque je clique sur la partition données elle est automatiquement nommée dev/sda2.
quelque chose m'échappe mais je ne vois pas quoi....
voila les commandes :
[gerard@localhost ~]$ ls -l /media
total 16
drwxrwxrwx 1 root root 4096 2011-07-09 13:09 hd/
drwxrwxrwx 1 root root 8192 2011-08-29 22:46 hd2/
drwxr-xr-x 2 root root 4096 2011-04-25 19:01 hd3/
[gerard@localhost ~]$ cat /etc/fstab
# Entry for /dev/sda5 :
UUID=df8a2f94-1517-43ee-bb9c-34a4e488e213 / ext3 defaults 1 1
# Entry for /dev/sda7 :
UUID=441900cc-9f20-4dc2-bcce-a1695cc50572 /home ext3 defaults 1 2
none /proc proc defaults 0 0
# Entry for /dev/sda6 :
UUID=a370857e-c6c4-4e2e-907b-9f820325c216 swap swap defaults 0 0
# Entry for /dev/sda1 :
UUID=2AF44B25F44AF31D /media/hd ntfs-3g defaults 0 0
# Entry for /dev/sda2 :
UUID=7E405AA7405A6645 /media/hd2 ntfs-3g defaults 0 0
# Entry for /dev/sdf1 :
UUID=4185-1AF2 /media/hd3 vfat defaults 0 0
[gerard@localhost ~]$ id
uid=500(gerard) gid=500(turlin) groupes=500(turlin)
[gerard@localhost ~]$
[gerard@localhost ~]$ ls -l /media
total 16
drwxrwxrwx 1 root root 4096 2011-07-09 13:09 hd/
drwxrwxrwx 1 root root 8192 2011-08-29 22:46 hd2/
drwxr-xr-x 2 root root 4096 2011-04-25 19:01 hd3/
[gerard@localhost ~]$ cat /etc/fstab
# Entry for /dev/sda5 :
UUID=df8a2f94-1517-43ee-bb9c-34a4e488e213 / ext3 defaults 1 1
# Entry for /dev/sda7 :
UUID=441900cc-9f20-4dc2-bcce-a1695cc50572 /home ext3 defaults 1 2
none /proc proc defaults 0 0
# Entry for /dev/sda6 :
UUID=a370857e-c6c4-4e2e-907b-9f820325c216 swap swap defaults 0 0
# Entry for /dev/sda1 :
UUID=2AF44B25F44AF31D /media/hd ntfs-3g defaults 0 0
# Entry for /dev/sda2 :
UUID=7E405AA7405A6645 /media/hd2 ntfs-3g defaults 0 0
# Entry for /dev/sdf1 :
UUID=4185-1AF2 /media/hd3 vfat defaults 0 0
[gerard@localhost ~]$ id
uid=500(gerard) gid=500(turlin) groupes=500(turlin)
[gerard@localhost ~]$
Tres bien, tu vas editer le fichier /etc/fstab avec les droits root
Et tu vas modifier les dernieres lignes comme ceci
Ensuite tu demontes les disques
Et tu remontes tout :
Eventuellement, on pourra ajuster les permissions sur le spoints de montage apres, mais essayes deja comme ca.
gksudo gedit /etc/fstab
Et tu vas modifier les dernieres lignes comme ceci
# Entry for /dev/sda1 : UUID=2AF44B25F44AF31D /media/hd ntfs-3g uid=500,gid=500,umask=000,rw 1 0 # Entry for /dev/sda2 : UUID=7E405AA7405A6645 /media/hd2 ntfs-3g uid=500,gid=500,umask=000,rw 1 0 # Entry for /dev/sdf1 : UUID=4185-1AF2 /media/hd3 vfat uid=500,gid=500,umask=000,rw 1 0
Ensuite tu demontes les disques
sudo umount /media/hd sudo umount /media/hd2 sudo umount /media/hd2
Et tu remontes tout :
sudo mount -a
Eventuellement, on pourra ajuster les permissions sur le spoints de montage apres, mais essayes deja comme ca.
Merci synopsis8 mais
Il y a un problème avec la 1ere commande :
[gerard@localhost ~]$ gksudo gedit /etc/fstab
bash: gksudo: command not found
[gerard@localhost ~]$
Il y a un problème avec la 1ere commande :
[gerard@localhost ~]$ gksudo gedit /etc/fstab
bash: gksudo: command not found
[gerard@localhost ~]$
Quand rien ne va ....
[gerard@localhost ~]$ sudo gedit /etc/fstab
bash: sudo: command not found
[gerard@localhost ~]$
[gerard@localhost ~]$ sudo gedit /etc/fstab
bash: sudo: command not found
[gerard@localhost ~]$
J'ai essayé cela :
[gerard@localhost ~]$ sudo gedit /etc/fstab
bash: sudo: command not found
[gerard@localhost ~]$ su
Mot de passe :
[root@localhost turlin]# gedit /etc/fstab
bash: gedit: command not found
[root@localhost turlin]#
[gerard@localhost ~]$ sudo gedit /etc/fstab
bash: sudo: command not found
[gerard@localhost ~]$ su
Mot de passe :
[root@localhost turlin]# gedit /etc/fstab
bash: gedit: command not found
[root@localhost turlin]#
Bon, je ne sais pas si tu utilises Gnome ou autre chose.
Quoi qu'il en soit, il te faut éditer le fichier avec ce que tu voudras et avec l'utilisateur root
Un éditeur de texte, celui que tu veux, mais tu l'exécutes en tant que root pour ouvrir le fichier /etc/fstab en écriture.
Quoi qu'il en soit, il te faut éditer le fichier avec ce que tu voudras et avec l'utilisateur root
Un éditeur de texte, celui que tu veux, mais tu l'exécutes en tant que root pour ouvrir le fichier /etc/fstab en écriture.