Jean-Paul ARGUDO
2003-Feb-14 11:33 UTC
[Samba] Found MS-Word 97 & Samba bug : diagnostic found!
Hi all, I have a bug with Version 2.2.3a-12 for Debian GNU/Linux (custom 2.4.20 kernel with aacraid support (DELL PowerEdge 1650 with RAID mirror, etc)): Some users have, SOMETIMES, a READ ONLY set on files, where no one except them use this files. I'm in oplocks=false because of MS-Excel 97 issues, and, no need of fast performances at the moment (<10 users). I put a /home/public with nobody.nogroup rights. Each users is in "nogroup" group too. force user=nobody on this share set force create mask=0664 on this share And, here what I have!!! : First file has NO PROBLEM, second one HAS "READ ONLY" ERROR, (but not if the file is REOPEN again): -rw-rw-r-- 1 nobody nogroup 37888 Feb 14 11:46 test_file_1.doc -rwxr--r-- 1 nobody nogroup 37376 Feb 14 2003 test_file_2.doc Look at date "Feb 14 2003": erkk!! this is not a standard date!!! If I "touch" the file, as root, the date is now ok: -rw-rw-r-- 1 nobody nogroup 37888 Feb 14 11:46 test_file_1.doc -rwxr--r-- 1 nobody nogroup 37376 Feb 14 11:59 test_file_2.doc Then, the user can access the file, with READ/WRITE permissions Please consider too that "-rwxr--r--" has nothing to do with 664 permissions!! :-/ I think there is a mess with Samba and Word 97 .. I found that Samba 2.0.4 has a fix for Word 97 issues. Seems there's still one lurking around? Or did I configured badly?? Thanks a lot for answering *----------------------------------- Here datas on my config: *----------------------------------- KERNEL: Linux master 2.4.20 #5 SMP Fri Feb 7 10:06:37 CET 2003 i686 unknown UPTIME/LOAD: 12:21:56 up 6 days, 22:37, 3 users, load average: 0.01, 0.00, 0.00 SAMBA: Version 2.2.3a-12 for Debian => (I know it's old but it's still the version in the debian/stable) *----------------------------------- /etc/samba/smb.conf *----------------------------------- [global] netbios name=MASTER workgroup=PACK security=user encrypt passwords=Yes domain logons=yes logon script=logon.bat os level=64 domain master=yes local master=yes preferred master=yes wins support = yes name resolve order = wins hosts lmhosts bcast oplocks=no hosts allow=192.168.0. 192.168.1. log level=1 printer driver file=/home/public/driver/printers.def server string=PACK DOMAIN CONTROLER [netlogon] path=/var/samba/netlogon read only=yes public=no [profiles] path=/var/samba/profiles read only=no create mask = 0600 directory mask = 0700 [homes] browseable=No writeable=Yes guest ok=no comment=HOME create mask = 0600 directory mask = 0700 valid users = %S [public] path=/home/public browseable=Yes writeable=Yes guest ok=yes read only=no force user=nobody comment=PUBLIC set force create mask = 0664 [pdf] path=/tmp printable=yes guest ok=yes print command=/usr/bin/printpdf %s lpq commandlprm commandprinter driver=HP C LaserJet 4500-PS printer driver location=\\%h\printer$ [printer$] path=/home/public/driver guest ok=yes read only=yes -- Really hope this report has all data you need to answer my question! Ask me more info you'd need. -- Jean-Paul ARGUDO
Ronan Waide
2003-Feb-14 11:41 UTC
[Samba] Found MS-Word 97 & Samba bug : diagnostic found!
On February 14, jean.paul.argudo@pack-solutions.com said:> And, here what I have!!! : First file has NO PROBLEM, second one HAS > "READ ONLY" ERROR, (but not if the file is REOPEN again): > > -rw-rw-r-- 1 nobody nogroup 37888 Feb 14 11:46 test_file_1.doc > -rwxr--r-- 1 nobody nogroup 37376 Feb 14 2003 test_file_2.doc > > Look at date "Feb 14 2003": erkk!! this is not a standard date!!!I presume that's output from "ls -l". I would hazard a guess that your server and client clocks are not in sync. If you're on linux, try ls --full-time Cheers, Waider. -- "We are experiencing MVS processor spin loops, the programs are running while holding a disabled CPU. This is causing XCF communication delays to the point where we are losing VTAM RTP routing, are suffering OSPF adjacency failures on TCP/IP dynamic routing and MIM VCF failures." - Reported via Slashdot