I use a program called Autosync to sync specific folders, local backups and such from my Android phone. It works to create new files but It always gives me a permission denied error when trying to delete files.
I created a user named bsingh with read/write permissions and use that as the SMB login. the permissions for my share is 777 (read write execute)
ls -la on the share shows
ls -la /mnt/user/
total 0
drwxrwxrwx 1 nobody users 45 Aug 26 13:55 ./
drwxr-xr-x 7 root