Re: Debian et disque NTFS
Tahar BEN ACHOUR a écrit, le 29.07.2011 09:56 :
> mais j'ai un problème avec un disque externe formaté en ntfs
> quand je le monte j'ai le message suivant
>
> Error mounting: mount exited with exit code 1: helper failed with:
> Error opening '/dev/sdd1': Permission denied
> Failed to mount '/dev/sdd1': Permission denied
> Please check '/dev/sdd1' and the ntfs-3g binary permissions,
> and the mounting user ID. More explanation is provided at
> http://ntfs-3g.org/support.html#unprivileged
>
> ntfs-3g est installé, mais je n'ai pas compris comment je dois régler les permissions.
>
Bonjour,
j'avais trouvé l'info par ici:
http://www.tuxera.com/community/ntfs-3g-faq/#useroption
avec cet avertissement:
"Please note that using setuid-root can result unforeseen privilege escalation and its
usage is discouraged. Only the absolutely trusted users must be granted such access."
donc
chmod 4755 $(which ntfs-3g)
et dans etc/fstab il y a ça (en 1 ligne):
/dev/disk/by-uuid/l-uuid-du-disk /mnt/point-de-montage ntfs-3g
noauto,user,locale=fr_FR.UTF-8,umask=022,uid=mon-user,gid=mon-groupe,fmask=113,dmask=002 0 0
et ça roule
cordialement
hého
Reply to: