[Samba] File attribute problem 3.0.23

Beschorner Daniel Daniel.Beschorner at facton.com
Wed Jul 5 09:30:12 GMT 2006


We have a problem with an application that clears the archive bit before
writing and sets it after writing.
The latter one doesn't succeed if the writer != file owner.
Dos filemode is enabled and manually setting is fine.
Samba is 3.0.23RC3.
Client is XP/SP2.
Seems to loose the connection before setting the bit and a new smbd is
spawn.

Daniel

[2006/07/05 09:32:36, 10] locking/locking.c:is_locked(96)
  is_locked: optimisation - exclusive oplock on file Dev/Inst.ism
[2006/07/05 09:32:36, 10] locking/locking.c:is_locked(134)
  is_locked: flavour = WINDOWS_LOCK brl start=0 len=5429 unlocked for fnum
10866 file Dev/Inst.ism
[2006/07/05 09:32:36, 8] smbd/dosmode.c:dos_mode(326)
  dos_mode: Dev/Inst.ism
[2006/07/05 09:32:36, 8] smbd/dosmode.c:dos_mode_from_sbuf(193)
  dos_mode_from_sbuf returning
[2006/07/05 09:32:36, 8] smbd/dosmode.c:dos_mode(364)
  dos_mode returning
[2006/07/05 09:32:36, 10] smbd/dosmode.c:file_set_dosmode(393)
  file_set_dosmode: setting dos mode 0x20 on file Dev/Inst.ism
[2006/07/05 09:32:36, 8] smbd/dosmode.c:dos_mode(326)
  dos_mode: Dev/Inst.ism
[2006/07/05 09:32:36, 8] smbd/dosmode.c:dos_mode_from_sbuf(193)
  dos_mode_from_sbuf returning
[2006/07/05 09:32:36, 8] smbd/dosmode.c:dos_mode(364)
  dos_mode returning
[2006/07/05 09:32:36, 3] smbd/dosmode.c:unix_mode(147)
  unix_mode(Dev/Inst.ism) returning 0760
[2006/07/05 09:32:36, 5] smbd/files.c:file_new(126)
  allocated file structure 6771, fnum = 10867 (2 used)
[2006/07/05 09:32:36, 0] lib/util_sock.c:get_peer_addr(1229)
  getpeername failed. Error was Transport endpoint is not connected
[2006/07/05 09:32:36, 0] lib/util_sock.c:write_data(562)
  write_data: write failure in writing to client 192.168.1.4. Error
Connection reset by peer
[2006/07/05 09:32:36, 0] lib/util_sock.c:send_smb(769)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2006/07/05 09:32:36, 1] smbd/service.c:make_connection_snum(941)
  dev4 (192.168.1.4) connect to service Dev initially as user xxx (uid=100,
gid=100) (pid 20030)


More information about the samba mailing list