Bonjour tout le monde. J'ai un problème qui me chiffone.
Je viens de configurer un partage NFS, qui avait l'air de pas trop mal marcher, j'ai ajouté une entrée dans le /etc/fstab comme il faut, mais lorsque je monte mon répertoire, il me fout des droits bizarres : alors qu'avant le montage le point de montage appartenait à root et avait toutes les bonnes permissions, une fois le montage effectué, il est attribué au premier user que j'avais créé lors de l'install, et là, impossible de parcourir le répertoire ni d'y faire quoi que ce soit, même en étant root. Pour plus de précisions, mon /etc/fstab ressemble à ça : box:~# cat /etc/fstab # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/hda1 / ext3 defaults,errors=remount-ro 0 1 /dev/hda9 /home ext3 defaults 0 2 /dev/hda8 /tmp ext3 defaults 0 2 /dev/hda5 /usr ext3 defaults 0 2 /dev/hda6 /var ext3 defaults 0 2 /dev/hda7 none swap sw 0 0 /dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0 192.168.0.3:/media/EXTERNE/MesDocuments /media/bishi nfs user,nosuid,exec,nodev,noauto 0 0 C'est donc la dernière ligne qui est en cause. Avant le montage, mon /media ressemble à ça : box:~# ls -la /media/ total 6 drwxr-xr-x 6 root root 1024 2006-08-09 02:42 . drwxr-xr-x 21 root root 1024 2006-08-09 02:42 .. drwxr-xr-x 2 root root 1024 2006-08-09 02:42 bishi lrwxrwxrwx 1 root root 6 2006-08-06 19:08 cdrom -> cdrom0 drwxr-xr-x 2 root root 1024 2006-08-06 19:08 cdrom0 lrwxrwxrwx 1 root root 7 2006-08-06 19:08 floppy -> floppy0 drwxr-xr-x 2 root root 1024 2006-08-06 19:08 floppy0 drwxr-xr-x 2 root root 1024 2006-08-06 20:04 Truc Et après montage, c'est là que c'est le drame : box:~# ls -la /media/ total 37 drwxr-xr-x 6 root root 1024 2006-08-09 02:42 . drwxr-xr-x 21 root root 1024 2006-08-09 02:42 .. drwx------ 37 mab normaluser 32768 2006-05-02 00:37 bishi lrwxrwxrwx 1 root root 6 2006-08-06 19:08 cdrom -> cdrom0 drwxr-xr-x 2 root root 1024 2006-08-06 19:08 cdrom0 lrwxrwxrwx 1 root root 7 2006-08-06 19:08 floppy -> floppy0 drwxr-xr-x 2 root root 1024 2006-08-06 19:08 floppy0 drwxr-xr-x 2 root root 1024 2006-08-06 20:04 Truc (mab étant un des users du système, le premier user créé à l'install) Que faire ? Bishi. -- ubuntu-fr mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr
