[Samba] Word and Excel files are read-only when opening
f.bonnet at esiee.fr
Mon Jul 6 13:10:57 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Well I have checked I there is no default ACL on the considered files
dale at briannassaladdressing.com wrote:
> Another thing worth checking is default acl's. If default acl's exist, they can override the posix permissions. Run getfacl on the directory/file in question to see if there are any listings with "default" in them.
> The setting of default acl's has caused word/excel/access read-only problems for me more than once.
> -----Original message-----
> From: Frank Bonnet f.bonnet at esiee.fr
> Date: Fri, 03 Jul 2009 08:04:54 -0500
> To: John Drescher drescherjm at gmail.com
> Subject: Re: [Samba] Word and Excel files are read-only when opening
> John Drescher wrote:
>>>>> Since we started our new Samba + LDAP backend server yesterday
>>>>> some (not all) PC we have a problem with Word and Excel files
>>>>> that are marked "read-only" when users are trying to open
>>>>> them from their Samba network shares.
>>>>> This happen ONLY for *.doc and *.xls files , if we open
>>>>> and save a *.html file with Word it works ...
>>>>> Any info/help greatly appreciated.
>>>>> Thank you
>>>> This probably is due to the fact that when Office saves a file it
>>>> creates a new file it creates a temp file then deletes the old file
>>>> then renames the temp file to the same name as the old file and in
>>>> this case the os magically sets the permissions of the renamed temp
>>>> file to what the old file had. The problem is that Linux does not have
>>>> this weird filesystem behavior built in so you have to emulate this
>>>> with samba. I believe some versons of samba required a create mask of
>>>> 2777 to get this to work. BTW, this is discussed many times in the
> Hello John
> I've tried but it did not work for me .
To unsubscribe from this list go to the following URL and read the
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba