[Samba] Deleting a file

Rick Cone, Secure Payment Systems rcone at securepaymentsystems.com
Wed Nov 30 19:56:08 GMT 2005


Hi.  Can anyone look at this log.smbd except and tell me why I can't delete
a file on a Windows client.  The file I'm deleting is "/u/fil/2020.gif".
All the file/directory attributes should and do allow a delete in either
smbclient or by the UNIX user.  Here is the except:

[2005/11/30 10:14:32, 10] smbd/nttrans.c:(427)
map_share_mode: DELETE_ACCESS requested. open_mode = 0x8000
[2005/11/30 10:14:32, 10] smbd/nttrans.c:(480)
map_share_mode: Mapped desired access 0x10000, share access 0x7, file
attributes 0x0 to open_mode 0x8040
[2005/11/30 10:14:32, 5] smbd/filename.c:(108)
unix_convert called on file "u/fil/2010.gif"
[2005/11/30 10:14:32, 10] smbd/statcache.c:(243)
stat_cache_lookup: lookup succeeded for name [U/FIL/2010.GIF] ->
[u/fil/2010.gif]
[2005/11/30 10:14:32, 10] smbd/reply.c:(1499)
can_delete: u/fil/2010.gif, dirtype = 0
[2005/11/30 10:14:32, 8] smbd/dosmode.c:(283)
dos_mode: u/fil/2010.gif
[2005/11/30 10:14:32, 8] smbd/dosmode.c:(151)
dos_mode_from_sbuf returning
[2005/11/30 10:14:32, 8] smbd/dosmode.c:(315)
dos_mode returning
[2005/11/30 10:14:32, 3] smbd/error.c:(105)
error string = Package not installed
[2005/11/30 10:14:32, 3] smbd/error.c:(129)
error packet at smbd/nttrans.c(800) cmd=162 (SMBntcreateX)
NT_STATUS_ACCESS_DENIED
[2005/11/30 10:14:32, 5] lib/util.c:(464)
Thanks, Rick


More information about the samba mailing list