Bonsoir.
J'espérimente depuis plusieurs soirs le seveur samba. Je voudrais en fait partager des fichier en Linux & Mac.
J'ai évidement lu le tuto du site :
http://doc.fedora-fr.org/Ajouter_un_serveur_de_partage_de_fichiers_samba_%28Windows%29
Ainsi que celui de Samba, cette partie là par exemple :
http://us3.samba.org/samba/docs/man/Samba-Guide/small.html
Le seveur est bien reconnu, je peux me connecter, naviguer, lire les fichiers, en copier, mais je ne peux ni supprimer, ni renommer les fichiers, je ne peux pas créer de répertoire non plus :
[root@localhost samba]# smbclient //192.168.1.20/test2
Password:
Domain=[SWEETHOME] OS=[Unix] Server=[Samba 3.0.24-5.fc6]
Server not using user level security and no password supplied.
smb: \> ls
. D 0 Wed May 30 22:20:43 2007
.. D 0 Wed May 30 21:12:37 2007
test_dir2 D 0 Wed May 30 22:21:06 2007
test4.rtf A 0 Wed May 30 21:31:40 2007
rh8.pdf A 3774452 Wed May 30 22:19:19 2007
Recherche logements.ods A 7427 Wed May 30 22:20:43 2007
new file A 0 Wed May 30 22:20:12 2007
test_dir1 D 0 Wed May 30 22:19:34 2007
53192 blocks of size 262144. 25527 blocks available
smb: \> mkdir testdir3
NT_STATUS_ACCESS_DENIED making remote directory \testdir3
smb: \> rm "new file"
NT_STATUS_ACCESS_DENIED deleting remote file \new file
smb: \> q
[root@localhost samba]#
Voila le fichier smb.config :
[root@localhost samba]# cat smb.conf
[global]
workgroup = SWEETHOME
netbios name = HOBBIT
security = SHARE
[test1]
path = test_smb
read only = yes
guest ok = yes
[test2]
comment = Samba Test 2
path = /test_smb2
force user = Arnaud
force group = samba_grp
read only = no
guest ok = yes
[test3]
comment = Samba Test 3
path = /home/samba/test_smb3
force user = Arnaud
force group = samba_grp
read only = no
guest ok = yes
J'ai fait simple.
J'ai pensé à un pb de propriété de répertoire, mais là, tout semble OK :
[root@localhost /]# cd test_smb2
[root@localhost test_smb2]# ls -al
total 3748
drwxr-xr-x 4 Arnaud samba_grp 4096 May 30 22:20 .
drwxr-xr-x 26 root root 4096 May 30 21:12 ..
-rwxr--r-- 1 Arnaud samba_grp 0 May 30 22:20 new file
-rwxr--r-- 1 Arnaud samba_grp 7427 May 30 22:20 Recherche logements.ods
-rwxr--r-- 1 Arnaud samba_grp 3774452 May 30 22:19 rh8.pdf
-rwxr--r-- 1 Arnaud samba_grp 0 May 30 21:31 test4.rtf
drwxr-xr-x 2 Arnaud samba_grp 4096 May 30 22:19 test_dir1
drwxrwxr-x 2 Arnaud samba_grp 4096 May 30 22:21 test_dir2
Si qqn a une idée ... je suis preneur ! :-D