je me suis remis dans /mnt/windows (le /home/dremecker/windows c’etait pour voir si le fait de ce mettre dans un dossier ou j’ai normalement tout les acces ca changeit quelquechose)
quand je tappe “#ls -l /mnt/windows” il me donne :
linux-s76z:~# ls -l /mnt
total 8
dr-x------ 1 root root 8192 2007-07-13 01:01 windows
linux-s76z:~# ls -l /mnt/windows
total 585628
-r-------- 2 root root 454 2007-04-05 16:06 aksnt4usb.log
-r-------- 1 root root 0 2006-11-11 19:33 AUTOEXEC.BAT
-r-------- 1 root root 12347015 2006-11-13 08:00 AVG7QT.DAT
-r-------- 1 root root 4952 2002-08-30 14:00 Bootfont.bin
-r-------- 1 root root 212 2006-11-11 19:22 boot.ini
dr-x------ 1 root root 4096 2007-04-18 15:48 CDPROSPE
dr-x------ 1 root root 0 2007-06-29 12:58 Config.Msi
-r-------- 1 root root 0 2006-11-11 19:33 CONFIG.SYS
dr-x------ 1 root root 4096 2007-05-13 15:39 CtDriverInstTemp
dr-x------ 1 root root 4096 2006-11-12 14:44 Documents and Settings
-r-------- 1 root root 234409984 2007-07-13 00:35 hiberfil.sys
-r-------- 1 root root 0 2006-11-11 19:33 IO.SYS
-r-------- 1 root root 0 2006-11-11 19:33 MSDOS.SYS
dr-x------ 1 root root 0 2006-11-12 15:57 MSOCache
-r-------- 1 root root 47564 2004-08-03 22:38 NTDETECT.COM
-r-------- 1 root root 251712 2004-08-03 22:59 ntldr
-r-------- 1 root root 352321536 2007-07-13 00:35 pagefile.sys
dr-x------ 1 root root 12288 2007-06-28 21:40 Program Files
dr-x------ 1 root root 0 2006-11-12 14:46 RECYCLER
dr-x------ 1 root root 4096 2006-11-11 19:42 System Volume Information
-r-------- 1 root root 176128 2006-12-21 16:22 t3to
-r-------- 1 root root 36864 2006-12-21 09:29 tag
dr-x------ 1 root root 0 2007-05-06 17:15 $VAULT$.AVG
dr-x------ 1 root root 8192 2007-05-13 15:42 WebCam3Gen
dr-x------ 1 root root 8192 2007-05-13 15:39 WebCam5
dr-x------ 1 root root 32768 2007-07-13 00:36 WINDOWS
Les commandes “#chown dremecker /mnt/windows” et “#chmod u+rwx /mnt/windows” fonctionnent, lorsque je fait un ls -l voici le résultat:
linux-s76z:~# ls -l /mnt
total 4
drwxr-xr-x 2 dremecker root 4096 2007-07-08 15:11 windows
linux-s76z:~#
je fais ensuite un “#id dremecker”
uid=1000(dremecker) gid=1000(dremecker) groupes=1000(dremecker),20(dialout),24(cdrom),25(floppy),29(audio),44(video),46(plugdev),106(netdev),109(powerdev)
Jusque là tout va bien, mais ensuite ca ce gate
linux-s76z:~# mount -t ntfs -o gid=1000 umask=7777 /dev/hda1 /mnt/windows
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
Je pense que ca vient du fait que l’option umask est mal “codé” car quand je retire tout sauf umask=777 ca merde, mais lorsque je laisse tout et que je retire umask ca fonctionne. Le problème c’est que ca ne me laisse toujours pas l’acces a ces fichiers car quand je fait un “ls -l” j’obtiens
linux-s76z:~# ls -l /mnt
total 8
dr-x------ 1 root dremecker 8192 2007-07-13 01:01 windows
Il y a un problème la non?