Jerome Tytgat wrote:
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
Does something like the following work for you:
mount -t smbfs -o username=user1,password=xxx,uid=0,gid=0,dmask=770 //server/Archive /mnt/server/archive
Christian
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba