[Samba] Problem with smbmount

Jerome Tytgat jerome.tytgat at asterion.fr
Tue Nov 2 15:27:32 GMT 2004


Hello list,

Sorry for the reposting, but I think someone may have
an idea, I don't think I'm the only one with this kind
of problem.

I have a problem with my samba shares.

I have a server with samba installed on it (3.0.7-Debian).
I have workstations under wxp and workstations under linux.

I have a common share which looks like this :

[Archive]
     available = yes
     valid users = user1, user2
     comment = Repertoire Archive
     browseable = yes
     write list = user1, user2
     writable = yes
     admin users = user1
     path = /home/archives
     user = user1, user2
     force user = root

I connect my wxp to the share without problem and
can read/write. Of course all new files are created
under the "root" user as requested by the "force user"
option.

I can connect my linux to this share using
mount -t smbfs -o rw,username=user1,password=xxx //server/Archive /mnt/server/archive,
(either using smbmount does the same behaviour)
I can do all the read I want, but I can't make any write.

It looks like my workstation get confused by the rights.
If I go in a directory where the user1 have RW access, I can
create a file, and it is automaticllay given to root (according
to the option "force user"), but I can't make any write
where the user "root" is the owner of the directory.

It works well under Windows XP workstation, it does not works under linux
workstation (which is a Kanotix/Knoppix/Debian distribution), that's
why I think it's a problem with smbmount/mount -t smbfs

Any idea ?

Thanks

-- 
====================================
 > Jérôme Tytgat
Administrateur  Réseau  et  Sécurité
====================================



More information about the samba mailing list