Vous n'avez pas les droits pour lire....

nicoooo -  
 nicoooo -
Bonjour,

J'ai un problème avec Linux (Mandriva). Une partition a disparue suite à un virus sur Windows (je n'arrive pas à y accéder)
J'ai donc monter cette partition en faisant :

mount -t ntfs -o mode=777 /dev/sda5 /mnt/sda5

ça marche mais quand je veux y accéder :
- en graphique, j'ai le message d'erreur : "Vous n'avez pas les droits pour lire file:///mnt/sda5"
- par contre j'arrive à y accéder par la console

Je voudrais juste pouvoir y accéder pour graver mes données et tout remettre à neuf
Voila si qqn peut m'aider ça serait sympa

Merci d'avances
A voir également:

8 réponses

bob031 Messages postés 8158 Date d'inscription   Statut Membre Dernière intervention   473
 
bonjour,

[redfox@bob ~]$ ls -l /mnt/sda5
0
lami20j Messages postés 21331 Date d'inscription   Statut Modérateur, Contributeur sécurité Dernière intervention   3 570
 
Salut,

plutôt
ls -ld /mnt/sda5
pour voir déjà les droits sur le répertoire
affiche aussi le résultat de la commande
mount
0
nicoooo
 
Merci pour vos réponses

Voila le résultat des commandes :

[eultartuffe@localhost ~]$ ls -l /mnt/sda5
total 0

[eultartuffe@localhost ~]$ ls -ld /mnt/sda5
drwxr-xr-x 2 root root 4096 2008-02-09 13:17 /mnt/sda5/

[eultartuffe@localhost ~]$ mount
/dev/sda4 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/sda3 on /mnt/windows type vfat (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
[eultartuffe@localhost ~]$
0
lami20j Messages postés 21331 Date d'inscription   Statut Modérateur, Contributeur sécurité Dernière intervention   3 570
 
Salut,

ta partition n'est pas montée
regarde ici http://wiki.mandriva.com/
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
nicoooo
 
oups j'ai redémarré dc c'était plus monté :

[root@localhost eultartuffe]# ls -dl /mnt/sda5

[root@localhost eultartuffe]# ls -dl /mnt/sda5
dr-x------ 1 root root 12288 2008-02-05 22:17 /mnt/sda5/

[root@localhost eultartuffe]# mount
/dev/sda4 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/sda3 on /mnt/windows type vfat (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
/dev/sda5 on /mnt/sda5 type ntfs (rw)
[root@localhost eultartuffe]#

Désolé
0
lami20j Messages postés 21331 Date d'inscription   Statut Modérateur, Contributeur sécurité Dernière intervention   3 570
 
utiliee le driver ntfs-3g plutôt, regarde le lien que je t'ai donné
0
nicoooo
 
Merci,

mais voila ce que ça donne quand j'applique les chgts :

$LogFile indicates unclean shutdown (0, 0)
Failed to mount '/dev/sda5': Opération non supportée
Mount is denied because NTFS is marked to be in use. Choose one action:

Choice 1: If you have Windows then disconnect the external devices by
clicking on the 'Safely Remove Hardware' icon in the Windows
taskbar then shutdown Windows cleanly.

Choice 2: If you don't have Windows then you can use the 'force' option for
your own responsibility. For example type on the command line:

mount -t ntfs-3g /dev/sda5 /mnt/sda5 -o force

Or add the option to the relevant row in the /etc/fstab file:

/dev/sda5 /mnt/sda5 ntfs-3g defaults,force 0 0
0
nicoooo
 
je ne comprend pas car là je ne vois pas ma partition dans media:/ mais quand je fais un ls -l /media j'ai ça :

[root@localhost media]# ls -l
total 76
-r-------- 1 root root 47251 2008-02-01 19:51 avion.jpg
drwxr-xr-x 2 root root 4096 2007-10-08 09:50 cdrom/
drwx------ 6 root root 4096 2008-02-11 18:28 Cours/
drwxr-xr-x 2 root root 4096 2007-10-08 09:50 floppy/
drwxr-xr-x 2 root root 4096 2007-10-13 14:50 hd/
drwxr-xr-x 2 root root 4096 2007-10-13 14:50 hd2/
drwxrwxrwx 2 root root 4096 2007-10-13 14:50 hd3/
drwxr-xr-x 2 root root 4096 2007-10-13 14:50 hd4/
[root@localhost media]#
0