[Samba] Re: file delete problem

Ryan Suarez ryan.suarez at sheridanc.on.ca
Tue Jun 16 18:57:11 GMT 2009


Ryan Suarez wrote:
> Using samba v3.3.5 with winbind.  'force user' parameter is set on share.
>
> - upload files to share work fine
> - create subfolders on share work fine
> - delete subfolders on share work fine
>
> Problem is when trying to delete files.  Get the error (on vista 
> client) "Destination Folder Access Denied:You need permission to 
> perform this action"
>
> I can delete the file fine as the user directly from the samba server.
>
> If I chmod 757 the share then the deletes work.
>
> I don't really want to leave the perms 757.  How can I get deletes to 
> work with permission 755?
>
> thanks,
> Ryan
>
> smb.conf:
> http://pastebin.ca/1462459

Forgot to mention logs after trying to delete the file:

[2009/06/16 14:55:29,  2] smbd/close.c:close_normal_file(606)
  suarezry closed file IMG00065-20090612-1342.jpg (numopen=1) NT_STATUS_OK
[2009/06/16 14:55:31,  2] smbd/open.c:open_file(551)
  suarezry opened file IMG00065-20090612-1342.jpg read=Yes write=No 
(numopen=2)
[2009/06/16 14:55:31,  2] smbd/close.c:close_normal_file(606)
  suarezry closed file IMG00065-20090612-1342.jpg (numopen=1) NT_STATUS_OK
[2009/06/16 14:55:31,  2] smbd/open.c:open_file(551)
  suarezry opened file IMG00065-20090612-1342.jpg read=No write=No 
(numopen=2)
[2009/06/16 14:55:31,  2] smbd/close.c:close_normal_file(606)
  suarezry closed file IMG00065-20090612-1342.jpg (numopen=1) NT_STATUS_OK

I'm guessing "write=No" as the reason I can't delete the file?


More information about the samba mailing list