Why won't Samba let me delete a file
Solution 1:
Your samba service obviously has write access to the root directory you're creating, otherwise it wouldn't be able to create files either.
It's more likely that your samba config is set to not allow deleting/unlinking.
Can you test to see if you can create and delete a file in a sub folder?