[Samba] cannot modify files on client

Dietrich Hentschel dihent at freenet.de
Sun Nov 25 08:10:47 MST 2012


Hi,

I want connect a linux client to linux server to modify files.

On my server:

    password file: tommy:x:1002:100:Tommy:/home/tommy:/bin/sh

    smb.conf:
	[global]
	workgroup=WORKGROUP
	security=share

	[bilder]
	path=/var/lib/export
	force user=tommy
	force group=users
	valid users=tommy
	write list=tommy

On client:

	mount.cifs //DESKTOP/bilder /home/dih/tommy/  -o user=tommy

   I see the files on root:
	-rwxr-xr-x 1 1002 users     628 Nov 11 19:15 configure.sh
	-rw-r--r-- 1 1002 users       0 Nov 25 11:33 d
	-rw-r--r-- 1 1002 users       0 Nov 25 12:49 dd
	-rwxr--r-- 1 1002 users  753647 Nov 22 19:48 p6140385.jpg
	-rwxr-xr-x 1 1002 users     720 Nov 19 14:29 photo-ma

   I can "touch x" without trouble and have uid 1002:
	-rw-r--r-- 1 1002 users       0 Nov 25 16:02 x


   I have no user on uid 1002. I want modify the files not on root but 
have wrong permissions.

Can someone help me.

With regards

Dietrich



More information about the samba mailing list