Thierry B a écrit :
Bonjour,Je voudrais pourvoir démonter ue partition distante sur ma debian en user.J'ai donc mis cette ligne là dans le fstab://xxx/yyy /xxx/yyy smbfs user,rw,uid=1000,gid=1000,umask=0022,iocharset=iso8859-1,username=zzzz,password=xxxxx 0 0Quaud je veux démonter la partition, il me dit: thierry@debian:~$ umount /xxx/yyy umount: only root can unmount //xxx/yyy from /xxx/yyyJe ne comprends pas pourquoi il n'y a que root, qui peut demonter cette partition, du fait que je la monte en user, et donc le user qui a le droit de la monter, devrait avoir le droit de la démonter, non?
Extrait de man mount: [...] Only the user that mounted a filesystem can unmount it again. Ifany user should be able to unmount, then use users instead of user in the fstab line. The owner option is similar to the user option, with the restriction that the user must be the owner of the
special file.C'est donc *users* qu'il faut mettre et non _user_. Comme je pense que ta partition a été montée au démarrage, c'est donc root qui l'a montée.
-- Daniel Huhardeaux _____ ____ ____ _____ _____ __ enum +48 32 285 5276 (_ __) _ / _ (_ __) _ / / iaxtel 1-700-849-6983 / / / // / // / / / / /_/ / / sip/iax:callto 101@voip./_/ /____/____/ /_/ /_/ /_/_/.net