[Samba] XP SP3 and posix locking
Adam Williams
awilliam at mdah.state.ms.us
Mon Jun 9 15:14:00 GMT 2008
I'm getting the read-only errors in MS Word 2003, and I'm using Symantec
Endpoint Protection 11 for anti-virus. One of my techs in his notes has
reports of read-only errors going back to January 4, 2008. Samba 3.0.28
was released on Dec 10, 2007, and I would of upgraded to it soon after,
so I think a code change in the release of samba 3.0.28 broke
something. we've noticed it happens when you open a file, and click
save, it saves fine, and when youc lick on save again, that is when it
goes read only. http://www.lancs.ac.uk/iss/windows/word-readonly.htm
says that it is because windows desktop search 3.01 will index the file
after saving it and that makes the computer set it as read only. i
uninstalled windows desktop search 3.01 but that didn't help.
L.P.H. van Belle wrote:
> Hi,
>
> yeah, meant 3.0.x, sorry about the.
>
> this is how my filesystem is setup.
>
> ( On server1 )
> sambaserver = /home/samba/datadir/ ( PDC + ACL + ea ) Kernel 2.6.18-4 (
> debian )
> Datadir is shared, this is my global data folder for users.
> Sambausers /users/ The users personal folder
> nfslinked /home/users/userfolder/"symlinked folder to a
> XXXX1/subfolder" ( this folder comes from sco unix 5.0.7 NFS V2 )
>
> nfsmount /home/nfsmount/XXXXX1 nfs mounted folder, shared in
> sambaserver als XXXX1 ( i have 3 of these folders ) ( chmod 777 )
> nfslinked2 /home/nfsmount/XXXXX2 nfsmounted folder on debian etch,
> linked in "Datadir" as temp folder "chmod 777" is used.
>
> ( UNIX )
> mounted the user home dir from debian in /u/
>
> dont ask why but im have lots of cross server scripts running here.
> And still expanding..
>
> Also.
> i created 1 "nfs user" on the debian server, i gave these the same UID/GID
> as on my unix server
> saved problems with rights.
>
> in samba i forced these users so these are always the unix user.
> this is not done in the nfslinked folders. these are users personal folders.
>
> on my WXP sp3 im running Mcafee 8.5 Enterprise Patch 5.
>
> Are you aware it could also be a problem in the virusscanner your using?
>
> Hope this info helps a bit.
>
> here a part of my settings.
> map hidden = no
> map system = no
> map archive = no
> store dos attributes = yes
> ea support = yes
> dos charset = 850
> preserve case = yes
> short preserve case = yes
> case sensitive = auto
> directory mask = 0755
> hide dot files = yes
> hide unreadable = yes
> hide files = /RECYCLER/desktop.ini/Desktop.ini/Thumbs.db/
> veto files = /*.eml/*.nws/*.{*}/
> veto oplock files = /*.doc/*.xls/*.mdb/
> dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd
> create mask = 0644
> kernel oplocks = Yes
> lock spin time = 200
> oplock break wait time = 0
> lock directory =
> block size = 1024
> veto oplock files = /*.doc/*.xls/*.mdb/
> blocking locks = Yes
> fake oplocks = No
> locking = Yes
> oplocks = Yes
> level2 oplocks = Yes
> oplock contention limit = 2
> posix locking = Yes
> strict locking = Auto
>
> Louis
>
>
>
>
>
>> -----Oorspronkelijk bericht-----
>> Van: samba-bounces+belle=bazuin.nl at lists.samba.org
>> [mailto:samba-bounces+belle=bazuin.nl at lists.samba.org] Namens
>> Michael Schmitt
>> Verzonden: zaterdag 7 juni 2008 22:47
>> Aan: samba at lists.samba.org
>> Onderwerp: Re: [Samba] XP SP3 and posix locking
>>
>> Hi,
>>
>> Am Freitag, den 06.06.2008, 15:08 +0200 schrieb Dirk Kastens:
>>
>>> Hi,
>>>
>>> L.P.H. van Belle wrote:
>>>
>>>> Hi,
>>>>
>>>> Im running XP SP3 here on samba 2.0.24 and 2.0.28 and no
>>>>
>> problems here.
>>
>> 2.0.xx I hope this is a typo and 3.0.xx is meant?
>>
>>
>>> It works with local filesystems. I does not work with NFS-mounted
>>> filesystem.
>>>
>>> Regards,
>>> Dirk
>>>
>> I need to agree (to a certain degree) to L.P.H. van Belles mail. I
>> tested it with a current WinXP SP3 and all other security
>> Patches with a
>> fairly old Samba (3.0.14a, Debian sarge, oldstable, will be upgraded in
>> the maybe not so near future though *g*) with some via samba shared nfs
>> exports. But here are symbolic links used to link to the files on the
>> nfs export:
>>
>> /mnt/nfs #the mounted nfs export
>> /pub/samba #the samba share
>> /pub/samba/old_data #a symbolic link
>> /mnt/nfs/data #the target of the link above
>>
>> So after all this may be the difference AND a workaround for Dirks
>> problem. I did check the samba configuration, posix locking is not set,
>> default is used (maybe the default changed?).
>>
>> regards
>> Michael
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/listinfo/samba
>>
>>
>
>
More information about the samba
mailing list