Alain Beyrand �crivit :
[...]
> Il faut activer samba, voir la HowTo SMB (auparavant, il faut faire un
> winipcfg sous Windows pour trouver son IP et le d�clarer dans netcfg),
> puis une fois le "smbclient -L NomPC" OK, il faut monter le disque, par
> exemple :
> mount -t smb //NomPC/C /mnt/NomPC/C
>
> Et c'est l� que, pour moi, �a se passe mal : j'ai un acc�s en lecture
> seule, alors qu'avec mon install pr�c�dente Mandrake 5.3, j'avais un
> acc�s en �criture...
Bonjour,
Lu sur http://www.ext2.org/99/05/admin/050199-admin2.shtml :
---------
[...]
You want to use the smbmount program to do the mounting from windows to
linux. The exact syntax used to mount the drive varies from version to
version. RTFM, of course. On one box with smbmount 2.0.3 I would type
this to mount the C drive from juanita to /juanita on the linux machine.
[Sur une ligne]
[5629 root@futon:/]# smbmount \\\\juanita\\c PASSWORD_HERE -c 'mount
/juanita -f 700 -d 700'
P> Note the double "\" characters I had to use, because bash interprets
the "\" character as an escape. Other shells may interpret this in other
ways. :-0 The name juanita is looked up in dns. The -f and -d switches
tell my linux machine to assign 700 permissions to all directories and
folders within the /juanita tree. This allows me to share my windows
drives and not let other interactive users peep into my files unless
they have root access.
This is the same variation of the smbmount command with a 2.0.2 version
number:
[Sur une ligne]
[3824 root@snaildust:/]# smbmount //juanita/c /juanita/ -f 700 -d 700
Password:
This version actually asks for the password at the command prompt, while
the other had me type it directly into the mount command. That behavior
may be alterable with some extra commands or switches. RTFM for more
info.
[...]
---------
Je n'utilise pas Samba. Je ne sais donc pas si cela te sera d'une
quelconque utilit�. Dans le doute ...
Accessoirement, et apr�s lecture du dit article, v�rifie que le partage
de fichiers sous Windows et bien activ� et correctement param�tr� et que
du c�t� de Linux le r�pertoire de montage du disque Windows poss�de les
bonnes permissions (on ne sait jamais).
Cordialement,
David BAUDENS