You need permission for both the file and the directory it's in. The restriction could be simple permissions, smb permissions in smb.conf or acl's. ya, I have write permissions for the directory.