samba - cannot delete file after creating it

Running version opensuse 12.2. I have a samba share set up as follows:

[itmd]        path = /home/itmd
        read only = no
        inherit permissions = yes
        inherit acls = Yes

The directory /home/itmd has these permissions:

drwxrwxr-x 31 itmd      users

I want members of group ‘users’ to be able to read and write to the directory. If I map a drive to the share as ‘chapan’ and I can put file in the directory. It then has these permissions:

-rwxrw-r-- 1 chapan users 559512 Jan 18 07:35 testfile

But if I try to delete the file, I get ‘permission denied’ even though I am the owner of the file. If I change permissions on the directory to be

drwxrwxrwx 31 itmd      users       3896 Jan 18 10:36 itmd

i can then delete the file, but I don’t what to give everyone write access to the directory.

Try this:

read only = yes
write list = +users

That should allow the group “users” to make, edit and delete files.

Otherwise, this might be useful: Defining and Using File Shares (Services)

After making the change I could not write to the directory at all. I dont’ really want to specify groups in the sbm.conf file. I just was samba to allow read/write/delete based on the linux file permissions. In any case should not the owner of a file always be able to delete it?