[gull] smbmnt

Pierre Maitre maitre at cdg.ch
Sun Oct 5 09:50:02 CEST 2003


Rochat Cédric wrote:
>>maitre at anesth1:/$ cat /etc/fstab | grep bloc
>>\\svr01\agenda  /bloc  smbfs
>>      noauto,user,username=maitre,passwd=blabla 0 0
> 
> Pour des partitions avec système de fichiers SMB, utiliser
> "smbmount", plutôt qu'un "mount -t smb", et le problème des privilèges sera résolu...


Eh non, le problème reste le même, pour la raison que mount -t smbfs 
utilise smbmount qui utilise lui-même smbmnt, et le message d'erreur est 
donné par smbmnt dans les deux cas:

maitre at anesth1:/$ ls -ld /bloc/
drwxrwxrwx  2 root root 4096 fév 8 2003  /bloc/
maitre at anesth1:/$ smbmount //svr01/agenda  /bloc -o
               username=maitre,password=blabla
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:/$ smbmount //svr01/agenda  /bloc -o
               username=maitre,password=blabla
maitre at anesth1:/$ ls /bloc/
AGENDA 2003
maitre at anesth1:/$





-- 
Dr Pierre-O. Maitre
Privat Docent
FMH Anesthésiologie
FMH Pharmacologie Clinique
Cabinet médical / A la Joy
CH-1272 Genolier Switzerland

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: InterScan_Disclaimer.txt
URL: <http://forum.linux-gull.ch/pipermail/gull/attachments/20031005/daf6ef98/attachment.txt>


More information about the gull mailing list