Hello, Many times when a user open, modifies and then close a Office 2010 document (Word, Excel, Power Point), the file keeps locked. A different user tries to open the file and gets a error message related to locking, read only permissions or something similar. Samba version: 3.0.33 Updating samba will fix the problem? I tried to put: "kernel oplocks = yes", but with no results. Sds
On Tue, 2012-06-05 at 10:01 -0300, Igor Cervo wrote:> Hello, > > > Many times when a user open, modifies and then close a Office 2010 > document (Word, Excel, Power Point), the file keeps locked. > A different user tries to open the file and gets a error message related > to locking, read only permissions or something similar. > > Samba version: 3.0.33 > > Updating samba will fix the problem?Possibly not, try # store DOS attributes in extended attributes ea support = yes store dos attributes = yes map readonly = no map archive = no map system = no and make sure you have mounted the file system with the user_xattr option. If you are running a RHEL5 based distribution then upgrading to the samba3x is advisable anyway. JAB. -- Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk Fife, United Kingdom.
You need to set the sticky bit for the group on this office files and it will run On Tue, 5 Jun 2012 10:01:54 -0300, Igor Cervo <igorcomputa21 at gmail.com> wrote:> Hello, > > > Many times when a user open, modifies and then close a Office 2010 > document (Word, Excel, Power Point), the file keeps locked. > A different user tries to open the file and gets a error message related > to locking, read only permissions or something similar. > > Samba version: 3.0.33 > > Updating samba will fix the problem? > > I tried to put: "kernel oplocks = yes", but with no results. > > > Sds
Possibly not, try # store DOS attributes in extended attributes ea support = yes store dos attributes = yes map readonly = no map archive = no map system = no Tks Jonathan, Where I put this attributes? In Global attributes? 2012/6/11 Daniel M?ller <mueller at tropenklinik.de>> You need to set the sticky bit for the group on this office files and it > will run > On Tue, 5 Jun 2012 10:01:54 -0300, Igor Cervo <igorcomputa21 at gmail.com> > wrote: > > Hello, > > > > > > Many times when a user open, modifies and then close a Office 2010 > > document (Word, Excel, Power Point), the file keeps locked. > > A different user tries to open the file and gets a error message related > > to locking, read only permissions or something similar. > > > > Samba version: 3.0.33 > > > > Updating samba will fix the problem? > > > > I tried to put: "kernel oplocks = yes", but with no results. > > > > > > Sds >
Igor Cervo wrote:> Possibly not, try > > # store DOS attributes in extended attributes > ea support = yes > store dos attributes = yes > map readonly = no > map archive = no > map system = no > > > Tks Jonathan, > > Where I put this attributes? In Global attributes? >Take your pick. I would put them in the global section, but they can be set on a per share basis. JAB. -- Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk Fife, United Kingdom.