[Samba] Copy files

Heros Eloi heroseloi at yahoo.com.br
Thu Jun 5 14:46:57 GMT 2008


Hi, Sorry my poor english.


My environment
- Server samba (version samba-3.0.21b-2 - on fedora 5)
- Cliente samba (version samba-3.0.25b-i486-1 - on Slackware 12)
- The cliente connect through of VPN (openvpn), when a write also file in
- Share config in the server

[comercial]
comment = Arquivos Comercial
path = /var/foo
write list = @comercial
valid users = @comercial
public = no
browseable = yes
writable = yes
create mask = 0770
force create mode = 0770
directory mask = 0770
vfs object = audit
force group = comercial


- mount in the client

smbmount //172.16.0.1/comercial /mnt/foo -o username=heros,passwd=xxx

The user "heros" be in group "comercial"

# id heros
uid=502(heros)
gid=100(users)517(comercial)


When I copy also file to share, samba server return the follow error.

cp foo.doc /mnt/foo


==> 10.0.0.14.log <==
[2008/06/05 11:22:10, 2] smbd/open.c:open_file(369)
   heros opened file foo.doc read=Yes write=Yes (numopen=1)
[2008/06/05 11:22:10, 2] smbd/reply.c:reply_mknew(1692)
   reply_mknew: file foo.doc

==> audit.log <==
Jun  5 11:22:10 server smbd_audit[24276]: opendir .
Jun  5 11:22:10 server smbd_audit[24276]: opendir .
Jun  5 11:22:10 server smbd_audit[24276]: open 
DDSW_ES_1_2008_Atualizado.doc (fd 19) for writing
Jun  5 11:22:10 server smbd_audit[24276]: fchmod_acl foo.doc mode 0x1f8 
failed: Operation not supported
Jun  5 11:22:10 server smbd_audit[24276]: chmod_acl foo.doc mode 0x1f8 
failed: Operation not supported
Jun  5 11:22:10 server smbd_audit[24276]: chmod 
DDSW_ES_1_2008_Atualizado.doc mode 0x1f8



Thanks



More information about the samba mailing list