Frank Bonnet
2009-Jul-02 11:31 UTC
[Samba] Word and Excel files are read-only when opening
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpMmmIACgkQ6f7UMO5oSsVMXwCbBr+g796mT9POem0S7Fe/nTx1 sX4An0txrgK1S9EO9ZoFh3nYyv7r4y/P =7Skd -----END PGP SIGNATURE-----
Mike Eggleston
2009-Jul-02 11:34 UTC
[Samba] Word and Excel files are read-only when opening
On Thu, 02 Jul 2009, Frank Bonnet might have said:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello > > 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 youI had read only issues with microsoft files from a mac to a samba+ldap linux box. That's the closest I can come to your situtation. Mike
John Drescher
2009-Jul-02 11:44 UTC
[Samba] Word and Excel files are read-only when opening
> 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 archives. John
Frank Bonnet
2009-Jul-06 13:02 UTC
[Samba] Word and Excel files are read-only when opening
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello I am running 3.2.11 Yannick Bergeron wrote:> Hello Frank, > > I had similar issues with samba-3.0.25 but not anymore with 3.3.0 > > what version are you using? > > Regards, > > Yannick Bergeron > > > > Frank Bonnet > f.bonnet at esiee.fr > > > Thu Jul 2 11:30:42 GMT 2009 > < Hello > < > < 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 > > > _________________________________________________________________ > Windows Live helps you keep up with all your friends, in one place. > http://go.microsoft.com/?linkid=9660826-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpR9bAACgkQ6f7UMO5oSsUPQQCfamsKMOt8trDZilj9spz8SdMZ LAkAnjkwfjdeUF+flYhRSNjN18zIQ8Xp =Hbkb -----END PGP SIGNATURE-----
Frank Bonnet
2009-Jul-06 13:12 UTC
[Samba] Word and Excel files are read-only when opening
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Well I have checked I there is no default ACL on the considered files dale@briannassaladdressing.com wrote:> Frank, > > 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. > > Dale > > -----Original message----- > From: Frank Bonnet f.bonnet@esiee.fr > Date: Fri, 03 Jul 2009 08:04:54 -0500 > To: John Drescher drescherjm@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 >>>> archives. >>>> >>>> John > Hello John > > I've tried but it did not work for me . > > Frank >- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpR9+EACgkQ6f7UMO5oSsUE/gCdEK3qJs2ELkwqD3EAiR/a2kfn H0AAnA+3YVAFjY4zQUIHaN1c1HDLsecd =wKVV -----END PGP SIGNATURE-----