I belive this is a bug but correct me if I'm wrong...
I have a directory, /80gb/, which has the ownership nobody:smbers and the permissions 075. I have in this directory files and directories with the same ownership/permissions.
My user, phil, is in the smbers group and can delete files and directories fine via the command line (ssh). When logged into Samba as phil, I can upload and download files perfectly fine. However, any file that has the above permissions cannot be deleted over smb - I get a permission denied message.
Changing the permissions to 175, 475 doesn't give me a permission denied message however the file isn't actually deleted. Changing the permissions to 775 does allow deletion. A permission change to 575 gives the error message again.
This is the case whether the file is owned by nobody or any other user on the system. Although if the file is phil:smbers 075 doesn't give the access denied error message as it did before.
As I said, the operations work fine from the command line so it doesn't appear to be a file system issue.
My OS is Debian Testing.
looks like a user/group/idmap configuration issue, not a bug