[gull] smbmnt

Jean-Bruno Luginbühl jean_bruno_luginbuhl at yahoo.fr
Wed Oct 8 11:40:02 CEST 2003


Le dim 05/10/2003 à 00:01, Pierre Maitre a écrit :
> Bonsoir
> 
> Ce n'est pas un bien grave problème, mais ça m'agace de ne pas comprendre.
> Quelqu'un peut-il m'expliquer pourquoi je ne peux pas monter une 
> partition en tant que user alors que le point de montage, appartenant à 
> root, a 777 comme permission:
> 
> maitre at anesth1:/$ cat /etc/fstab | grep bloc
> \\svr01\agenda  /bloc  smbfs
>       noauto,user,username=maitre,passwd=blabla 0 0
> maitre at anesth1:/$ ls -ld /bloc
> drwxrwxrwx  2 root root  4096 fév 8 2003   /bloc
> maitre at anesth1:/$ mount /bloc
> cannot mount on /bloc: Operation not permitted
> smbmnt failed: 1
> maitre at anesth1:/$ su
> Password:
> anesth1:/# chown maitre.anesth /bloc
> anesth1:/# exit
> exit
> maitre at anesth1:/$ ls -ld /bloc
> drwxrwxrwx  2 maitre anesth  4096 fév 8 2003  /bloc
> maitre at anesth1:/$ mount /bloc
> maitre at anesth1:/$ ls /bloc
> AGENDA2003

Voici ce que j'ai dans mon fstab MDK 9.0 :

//ntsrvsbs2/documents /home/jean/docueggs smbfs
user,rsize=8192,wsize=8192,rw,noauto 0 0

en faisant "mount docueggs", il me demande alors le mot de passe, que je
fournis (attention ici le user jean existe sur la machine NT).

Par contre le démontage seul root y a droit (???).

J'ai l'accès RW dessus après le montage.

Meilleures salutations

Jean-Bruno












> 
> 
> 
> Petite vexation supplémentaire: pour umount, je croyais avoir compris 
> que l'option "user" dans fstab permettait aussi à l'utilisateur de 
> "dé-monter" le volume.
> Eh bien il semble que non:
> 
> maitre at anesth1:/$ umount /bloc
> umount: /bloc mount disagrees with the fstab
> maitre at anesth1:/$
> maitre at anesth1:/$ su
> Password:
> anesth1:/# umount /bloc
> anesth1:/#
> 
> Merci d'avance aux gourou[sx]
> 
> Pierre Maitre
> 
> 
> -- 
> Dr Pierre-O. Maitre
> Privat Docent
> FMH Anesthésiologie
> FMH Pharmacologie Clinique
> Cabinet médical / A la Joy
> CH-1272 Genolier Switzerland
> 
> ----
> 

> * * * * * * * * * VEUILLEZ OBSERVER * * * * * * * * *
> Ce message (ainsi que toutes les annexes) contient éventuellement des données ou des informations confidentielles ou protégées par la loi internationale. Celles-ci sont uniquement destinées au(x) destinataire(s) mentionné(s). Au cas où ce message vous aurait été envoyé par erreur, nous vous prions de bien vouloir le détruire sans avoir reproduit son contenu. Nous vous prions également d'informer immédiatement l'expéditeur de cette erreur. Merci de votre aide.
> 
> * * * * * * * * * BITTE BEACHTEN * * * * * * * * *
> Diese Nachricht (wie auch allfällige Anhänge dazu) beinhalten möglicherweise vertrauliche oder gesetzlich geschützte Daten oder Informationen. Zum Empfang derselben ist (sind) ausschliesslich die genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter Ausschluss jeder Reproduktion zu zerstören und die absendende Person umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.
> 
> * * * * * * * * * PLEASE NOTE * * * * * * * * *
> This message (and any attachments) may contain confidential data or information protected by international law. Its contents are intended solely for the addressee. If this message has reached you by mistake you are kindly requested to delete it forthwith without in any way reproducing any of its contents. Please also inform the sender immediately. Thank you.





More information about the gull mailing list