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:
[EMAIL PROTECTED]:/$ cat /etc/fstab | grep bloc
\\svr01\agenda /bloc smbfs
noauto,user,username=maitre,passwd=blabla 0 0
[EMAIL PROTECTED]:/$ ls -ld /bloc
drwxrwxrwx 2 root root 4096 f�v 8 2003 /bloc
[EMAIL PROTECTED]:/$ mount /bloc
cannot mount on /bloc: Operation not permitted
smbmnt failed: 1
[EMAIL PROTECTED]:/$ su
Password:
anesth1:/# chown maitre.anesth /bloc
anesth1:/# exit
exit
[EMAIL PROTECTED]:/$ ls -ld /bloc
drwxrwxrwx 2 maitre anesth 4096 f�v 8 2003 /bloc
[EMAIL PROTECTED]:/$ mount /bloc
[EMAIL PROTECTED]:/$ ls /bloc
AGENDA2003Petite 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:
[EMAIL PROTECTED]:/$ umount /bloc umount: /bloc mount disagrees with the fstab [EMAIL PROTECTED]:/$ [EMAIL PROTECTED]:/$ 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.
