win2003 explorer & file rename problem with 3.0.12

Jeremy Allison jra at samba.org
Fri Mar 25 04:53:49 GMT 2005


On Fri, Mar 25, 2005 at 08:46:25AM +0400, Dmitry Melekhov wrote:
> Gerald (Jerry) Carter wrote:
> 
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >
> >Dmitry Melekhov wrote:
> >| Hello!
> >|
> >| I have file
> >| test.txt
> >|
> >| getfacl test.txt
> >| # file: test.txt
> >| # owner: dm
> >| # group: users
> >| user::rw-
> >| group::rwx                      #effective:rw-
> >| group:asuconnect:rwx            #effective:rw-
> >| mask::rw-
> >| other::---
> >|
> >|
> >| And want to rename it using windows2003 explorer with latest patches.
> >| I get error (translation from Russian): Can't rename file. No access.
> >|
> >| Certanly, I can successefully delete it, and can rename file using
> >| TotalCommander.
> >| log level 10 log is attached...
> >
> >This is BUG 2521 and has been fixed in 3.0.13.  Thanks for
> >checking though.
> 
> 
> Unfortunately, this bug is not fixed!
> 
> I have the same problem with 3.0.13.
> Just to make you shure:
> smbd -V
> Version 3.0.13

Your log has this in it :

  switch message SMBntcreateX (pid 4580) conn 0x8370428
[2005/03/25 08:43:33, 4] smbd/uid.c:change_to_user(194)
  change_to_user: Skipping user change - already user
[2005/03/25 08:43:33, 10] smbd/nttrans.c:reply_ntcreate_and_X(607)
  reply_ntcreateX: flags = 0x10, desired_access = 0x110080 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x200000 root_dir_fid = 0x0
[2005/03/25 08:43:33, 10] smbd/nttrans.c:map_create_disposition(341)
  map_create_disposition: Mapped create_disposition 0x1 to 0x1
[2005/03/25 08:43:33, 10] smbd/nttrans.c:map_share_mode(423)
  map_share_mode: FILE_SHARE_DELETE requested. open_mode = 0x8000
[2005/03/25 08:43:33, 10] smbd/nttrans.c:map_share_mode(427)
  map_share_mode: DELETE_ACCESS requested. open_mode = 0x8000
[2005/03/25 08:43:33, 10] smbd/nttrans.c:map_share_mode(480)
  map_share_mode: Mapped desired access 0x110080, share access 0x7, file attributes 0x0 to open_mode 0x8040
[2005/03/25 08:43:33, 5] smbd/filename.c:unix_convert(108)
  unix_convert called on file "test.txt"
[2005/03/25 08:43:33, 10] smbd/statcache.c:stat_cache_lookup(243)
  stat_cache_lookup: lookup succeeded for name [TEST.TXT] -> [test.txt]
[2005/03/25 08:43:33, 10] smbd/reply.c:can_delete(1499)
  can_delete: test.txt, dirtype = 0
[2005/03/25 08:43:33, 8] smbd/dosmode.c:dos_mode(283)
  dos_mode: test.txt
[2005/03/25 08:43:33, 8] smbd/dosmode.c:dos_mode_from_sbuf(151)
  dos_mode_from_sbuf returning
[2005/03/25 08:43:33, 8] smbd/dosmode.c:dos_mode(315)
  dos_mode returning
[2005/03/25 08:43:33, 3] smbd/error.c:error_packet(105)
  error string = Function not implemented

This last "error string = Function not implemented: is a dead givaway
that you haven't compiled Samba with ACL support in it.

When you do the configure ensure you added --with-acl-support.

Jeremy.


More information about the samba-technical mailing list