[Samba] File permissions 0070 with Office 2010 after saving

Martin Hochreiter linuxbox at wavenet.at
Thu Sep 22 07:17:15 MDT 2011


I solved that by playing around with the oplocks

[global]
     kernel oplocks = no
     oplocks = no
     level2 oplocks = no

Shares:
veto oplock files = /*.doc/*.docx/*.xls/*.xlsx/*.pptx/*.ppsx/*.ppt/*.pps

Then it was working again with 7 and samba 3.6.0
- but yes it was no problem with 3.5.11 and 7


regards
Martin
> I think this is a recurrence of an old bug. Running Samba 3.5.4 with
> CTDB on GPFS 3.4.0.6 with the vfs_gpfs module using CentOS 5.6. It is a
> vanilla CentOS RPM's with the vfs_gpfs module a self compiled add on.
> Running with NFSv4 ACL's.
>
> Basically what happens is when a user saves a file in Office 2010 (no
> Office 2007 to test with) with Windows 7 on the Unix side the
> permissions on the file get set to 0070 and all hell breaks loose.
>
> Some references on very similar issues in the past
>
> https://bugzilla.redhat.com/show_bug.cgi?id=462069
>
> http://forums.novell.com/suse/suse-product-discussion-forums/suse-linux-enterprise/suse-linux-enterprise-server-sles/sles-networking/383114-office-2007-samba-acl-problems-owner-read-only.html
>
>
> The only difference is that we get 0070 permissions now instead of 0470.
> It only seems to effect files saved with Office 2010.
>
>
> JAB.
>



More information about the samba mailing list