[Samba] Problem with smbmount

Jerome Tytgat jerome.tytgat at asterion.fr
Fri Oct 29 12:25:12 GMT 2004

Hello list,

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 :

     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"

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 ?


 > Jérôme Tytgat
Administrateur  Réseau  et  Sécurité
ASTERION     -   Impasse de la Hache
CP 5911   -   44 477 CARQUEFOU CEDEX
T: 02 40 300 800 - F: 02 40 25 10 74

More information about the samba mailing list