Newsgroup: it.comp.os.linux.sys
Titolo: Samba e documenti in sola lettura non voluti

Ciao a tutti.
Ho una rete con una 15 di client NT,2000,XP e un server samba-3.0.20b
che funge da dominio.
Ho scoperto ora un problemino molto antipatico:
Da 1 client con windows 2000 pro se l'utente user1 apro un doc word e mi
viene aperto in sola lettura, se lo chiudo e lo riapro invece me lo apre
in lettura/scrittura.
Sul file system tutti i documenti hanno come permission 750 e l'utente
propietario e' user1 e il grupo e' quello dell'utente user1.
Non ci sono acl particolari.
Ho provato ad aumentare il livello di log e quando l'utente apre il doc
vedo i seguenti messaggi:
[2006/09/07 17:24:32, 2] smbd/dosmode.c:unix_mode(70)
  unix_mode(FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc) inheriting from
FCOMM/Lettere/LettPRIVATI
[2006/09/07 17:24:32, 2] smbd/dosmode.c:unix_mode(78)
  unix_mode(FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc) inherit mode 40770
[2006/09/07 17:24:32, 2] smbd/open.c:open_file(372)
  user1 opened file FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc read=Yes
write=No (numopen=2)
[2006/09/07 17:24:32, 2] smbd/close.c:close_normal_file(270)
  fontanesic closed file FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc
(numopen=1)
[2006/09/07 17:24:32, 2] smbd/dosmode.c:unix_mode(70)
  unix_mode(FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc) inheriting from
FCOMM/Lettere/LettPRIVATI
[2006/09/07 17:24:32, 2] smbd/dosmode.c:unix_mode(78)
  unix_mode(FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc) inherit mode 40770
[2006/09/07 17:24:32, 2] smbd/open.c:open_file(372)
  fontanesic opened file FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc
read=Yes write=No (numopen=2)
[2006/09/07 17:24:32, 2] smbd/close.c:close_normal_file(270)
  fontanesic closed file FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc
(numopen=1)
[2006/09/07 17:24:32, 2] smbd/dosmode.c:unix_mode(70)
  unix_mode(FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc) inheriting from
FCOMM/Lettere/LettPRIVATI
[2006/09/07 17:24:32, 2] smbd/dosmode.c:unix_mode(78)
  unix_mode(FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc) inherit mode 40770
[2006/09/07 17:24:32, 2] smbd/open.c:open_file(372)
  fontanesic opened file FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc
read=Yes write=No (numopen=2)
[2006/09/07 17:24:32, 2] smbd/close.c:close_normal_file(270)
  user1 closed file FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc (numopen=1)
[2006/09/07 17:24:32, 2] smbd/dosmode.c:unix_mode(70)
  unix_mode(FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc) inheriting from
FCOMM/Lettere/LettPRIVATI
[2006/09/07 17:24:32, 2] smbd/dosmode.c:unix_mode(78)
  unix_mode(FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc) inherit mode 40770
[2006/09/07 17:24:32, 2] smbd/open.c:open_file(372)
  user1 opened file FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc read=Yes
write=No (numopen=2)
[2006/09/07 17:24:32, 2] smbd/close.c:close_normal_file(270)
  user1 closed file FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc (numopen=1)
[2006/09/07 17:24:32, 2] smbd/dosmode.c:unix_mode(70)
  unix_mode(FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc) inheriting from
FCOMM/Lettere/LettPRIVATI
[2006/09/07 17:24:32, 2] smbd/dosmode.c:unix_mode(78)
  unix_mode(FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc) inherit mode 40770
[2006/09/07 17:24:32, 2] smbd/open.c:open_file(372)
  unix_mode(FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc) inherit mode 40770
[2006/09/07 17:24:32, 2] smbd/open.c:open_file(372)
  user1 opened file FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc read=Yes
write=No (numopen=2)
[2006/09/07 17:24:32, 2] smbd/close.c:close_normal_file(270)
  user1 closed file FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc (numopen=1)
[2006/09/07 17:24:32, 2] smbd/dosmode.c:unix_mode(70)
  unix_mode(FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc) inheriting from
FCOMM/Lettere/LettPRIVATI
[2006/09/07 17:24:32, 2] smbd/dosmode.c:unix_mode(78)
  unix_mode(FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc) inherit mode 40770
[2006/09/07 17:24:32, 2] smbd/open.c:open_file(372)
  user1 opened file FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc read=Yes
write=No (numopen=2)
[2006/09/07 17:24:33, 2] smbd/dosmode.c:unix_mode(70)
  unix_mode(FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc) inheriting from
FCOMM/Lettere/LettPRIVATI
[2006/09/07 17:24:33, 2] smbd/dosmode.c:unix_mode(78)
  unix_mode(FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc) inherit mode 40770
[2006/09/07 17:24:33, 2] smbd/open.c:open_file(372)
  user1 opened file FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc read=No
write=No (numopen=3)
[2006/09/07 17:24:33, 2] smbd/close.c:close_normal_file(270)
  user1 closed file FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc (numopen=2)
[2006/09/07 17:24:33, 2] smbd/dosmode.c:unix_mode(70)
  unix_mode(FCOMM/Lettere/LettPRIVATI) inheriting from FCOMM/Lettere
[2006/09/07 17:24:33, 2] smbd/dosmode.c:unix_mode(78)
  unix_mode(FCOMM/Lettere/LettPRIVATI) inherit mode 40770
[2006/09/07 17:24:33, 1] smbd/service.c:make_connection_snum(662)
  pc86 (xxx.xxx.xxx.xxx) connect to service GT initially as user user1
(uid=1018, gid=1001) (pid 24358)
[2006/09/07 17:24:33, 2] smbd/dosmode.c:unix_mode(70)
  unix_mode(FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc) inheriting from
FCOMM/Lettere/LettPRIVATI
[2006/09/07 17:24:33, 2] smbd/dosmode.c:unix_mode(78)
  unix_mode(FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc) inherit mode 40770
[2006/09/07 17:24:33, 2] smbd/open.c:open_file(372)
  user1 opened file FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc read=No
write=No (numopen=3)
[2006/09/07 17:24:33, 2] smbd/close.c:close_normal_file(270)
  user1 closed file FCOMM/Lettere/LettPRIVATI/LettprivPISA.doc (numopen=2)
[2006/09/07 17:24:33, 2] smbd/dosmode.c:unix_mode(70)
  unix_mode(FCOMM/Lettere/LettPRIVATI) inheriting from FCOMM/Lettere
[2006/09/07 17:24:33, 2] smbd/dosmode.c:unix_mode(78)
  unix_mode(FCOMM/Lettere/LettPRIVATI) inherit mode 40770
[2006/09/07 17:24:36, 1] smbd/service.c:close_cnum(840)
  pc86 (xxx.xxx.xxx.xxx) closed connection to service GT
Consigli?
Grazie.

 in lettura/scrittura.
che versione di office e`? usi le acl (tempo fa c'era un problema con file
office e acl)? last but not least quella versione di samba li` pare sia un
po' sfigata, se puoi aggiorna alla 3.0.23c