Diego Julian Remolina
2006-Oct-30 18:32 UTC
[Samba] Excel Read only file bug back on 3.0.23x?
Hi, I believe that the BUG 2346 which was resolved in samba 3.0.14 has come back in the 3.0.23 series. Here is what I have noticed on two separate configurations. The samba packages were built on each machine using rpmbuild with the SRPMS provided for Fedora in the samba web site. Configuration 1. Two machines running with RHEL4, samba 3.0.23b-1, drbd-0.7.21 protocol C. Kernel: 2.6.9-42.0.3.ELsmp Configuration 2. Two machines running with CentOS 4, samba 3.0.23c-4, drbd-0.7.21 protocol C. Kernel: 2.6.9-42.0.2.ELsmp I do not believe none of this is related to DRBD, but I mention it just in case. The problem occurs as follows: 1. User Alice opens an excel files owned by her, makes changes and saves it. 2. User Bob opens the same file which Alice just saved and makes come changes. When Bob saves the file, he gets a warning that there is a problem and that changes could not be saved, however changes are saved. 3. Either Alice or Bob try to open the file and now it is a read only file. The only way anyone can save the file is if they first right click on it and uncheck the read-only checkbos prior to openning. However, the next time a different user opens the file and saves it, the problem comes back. Are there any settings that can be changed in smb.conf to help prevent this front happening? Is anyone else experiencing this behaviour? Is it possible that the BUG 2346 came back? Any help would be greatly appreciated. Thanks, Diego
Is your problem repeatable, for all users, and even on a fresh smb restart? For me it is not and this is the trickiest part of tracing this bug. I am desperately trying to resolve this as well. Have not received any replies from this board whatsoever. Currently re-visiting every parameter and samba default setting change across releases. Good luck and please post any results. thanks, Roland; -----Original Message----- From: samba-bounces+rolandhordos=tundraeng.com@lists.samba.org [mailto:samba-bounces+rolandhordos=tundraeng.com@lists.samba.org]On Behalf Of Diego Julian Remolina Sent: Monday, October 30, 2006 10:50 AM To: samba@lists.samba.org Subject: [Samba] Excel Read only file bug back on 3.0.23x? Hi, I believe that the BUG 2346 which was resolved in samba 3.0.14 has come back in the 3.0.23 series. Here is what I have noticed on two separate configurations. The samba packages were built on each machine using rpmbuild with the SRPMS provided for Fedora in the samba web site. Configuration 1. Two machines running with RHEL4, samba 3.0.23b-1, drbd-0.7.21 protocol C. Kernel: 2.6.9-42.0.3.ELsmp Configuration 2. Two machines running with CentOS 4, samba 3.0.23c-4, drbd-0.7.21 protocol C. Kernel: 2.6.9-42.0.2.ELsmp I do not believe none of this is related to DRBD, but I mention it just in case. The problem occurs as follows: 1. User Alice opens an excel files owned by her, makes changes and saves it. 2. User Bob opens the same file which Alice just saved and makes come changes. When Bob saves the file, he gets a warning that there is a problem and that changes could not be saved, however changes are saved. 3. Either Alice or Bob try to open the file and now it is a read only file. The only way anyone can save the file is if they first right click on it and uncheck the read-only checkbos prior to openning. However, the next time a different user opens the file and saves it, the problem comes back. Are there any settings that can be changed in smb.conf to help prevent this front happening? Is anyone else experiencing this behaviour? Is it possible that the BUG 2346 came back? Any help would be greatly appreciated. Thanks, Diego -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Diego Julian Remolina
2006-Oct-30 19:31 UTC
[Samba] Excel Read only file bug back on 3.0.23x?
Hi Roland, You are totally right, I restarted samba and the problem is gone on the RHEL4 machines. I will have to do some more testing to see if it is as random as you have seen. I will probably get a chance to restart samba on the CentOS 4 machines this evenning after hours and find if the problem goes away for a while. I already informed my users who experienced the problem today to notify me as soon as they see it happening again to try and figure out if there is a pattern. Thanks for your fast response. Will keep you posted on my findings, Diego Roland Hordos wrote:> Is your problem repeatable, for all users, and even on a fresh smb > restart? For me it is not and this is the trickiest part of tracing > this bug. > > I am desperately trying to resolve this as well. Have not received any > replies from this board whatsoever. Currently re-visiting every > parameter and samba default setting change across releases. Good luck > and please post any results. > > thanks, Roland; > > > -----Original Message----- > From: samba-bounces+rolandhordos=tundraeng.com@lists.samba.org > [mailto:samba-bounces+rolandhordos=tundraeng.com@lists.samba.org]On > Behalf Of Diego Julian Remolina > Sent: Monday, October 30, 2006 10:50 AM > To: samba@lists.samba.org > Subject: [Samba] Excel Read only file bug back on 3.0.23x? > > > Hi, > > I believe that the BUG 2346 which was resolved in samba 3.0.14 has come > back in the 3.0.23 series. > Here is what I have noticed on two separate configurations. The samba > packages were built on each > machine using rpmbuild with the SRPMS provided for Fedora in the samba > web site. > > Configuration 1. > Two machines running with RHEL4, samba 3.0.23b-1, drbd-0.7.21 protocol > C. > Kernel: 2.6.9-42.0.3.ELsmp > > Configuration 2. > Two machines running with CentOS 4, samba 3.0.23c-4, drbd-0.7.21 > protocol C. > Kernel: 2.6.9-42.0.2.ELsmp > > I do not believe none of this is related to DRBD, but I mention it just > in case. The problem occurs > as follows: > > 1. User Alice opens an excel files owned by her, makes changes and saves > it. > 2. User Bob opens the same file which Alice just saved and makes come > changes. When Bob saves the > file, he gets a warning that there is a problem and that changes could > not be saved, however changes > are saved. > 3. Either Alice or Bob try to open the file and now it is a read only > file. > > The only way anyone can save the file is if they first right click on it > and uncheck the read-only > checkbos prior to openning. However, the next time a different user > opens the file and saves it, the > problem comes back. > > Are there any settings that can be changed in smb.conf to help prevent > this front happening? Is > anyone else experiencing this behaviour? Is it possible that the BUG > 2346 came back? > > Any help would be greatly appreciated. > > Thanks, > > Diego
Hi This is a "workaround", not a solution, if you want the Excel timestamp feature enabled . add veto oplock files = /*.xls/ for each share in smb.conf SHARE section ! Or you edit the XP / W2K reg database see Microsoft official site for bug http://support.microsoft.com/kb/324491 Best regards Silas Wind "Roland Hordos" <rolandhordos@tun draeng.com> To Sent by: "Diego Julian Remolina" samba-bounces+swi <diego.remolina@ibb.gatech.edu>, =clipper-group.co "samba@lists.samba.org" m@lists.samba.org <samba@lists.samba.org> cc 30-10-2006 19:55 Subject RE: [Samba] Excel Read only file bug back on 3.0.23x? Is your problem repeatable, for all users, and even on a fresh smb restart? For me it is not and this is the trickiest part of tracing this bug. I am desperately trying to resolve this as well. Have not received any replies from this board whatsoever. Currently re-visiting every parameter and samba default setting change across releases. Good luck and please post any results. thanks, Roland; -----Original Message----- From: samba-bounces+rolandhordos=tundraeng.com@lists.samba.org [mailto:samba-bounces+rolandhordos=tundraeng.com@lists.samba.org]On Behalf Of Diego Julian Remolina Sent: Monday, October 30, 2006 10:50 AM To: samba@lists.samba.org Subject: [Samba] Excel Read only file bug back on 3.0.23x? Hi, I believe that the BUG 2346 which was resolved in samba 3.0.14 has come back in the 3.0.23 series. Here is what I have noticed on two separate configurations. The samba packages were built on each machine using rpmbuild with the SRPMS provided for Fedora in the samba web site. Configuration 1. Two machines running with RHEL4, samba 3.0.23b-1, drbd-0.7.21 protocol C. Kernel: 2.6.9-42.0.3.ELsmp Configuration 2. Two machines running with CentOS 4, samba 3.0.23c-4, drbd-0.7.21 protocol C. Kernel: 2.6.9-42.0.2.ELsmp I do not believe none of this is related to DRBD, but I mention it just in case. The problem occurs as follows: 1. User Alice opens an excel files owned by her, makes changes and saves it. 2. User Bob opens the same file which Alice just saved and makes come changes. When Bob saves the file, he gets a warning that there is a problem and that changes could not be saved, however changes are saved. 3. Either Alice or Bob try to open the file and now it is a read only file. The only way anyone can save the file is if they first right click on it and uncheck the read-only checkbos prior to openning. However, the next time a different user opens the file and saves it, the problem comes back. Are there any settings that can be changed in smb.conf to help prevent this front happening? Is anyone else experiencing this behaviour? Is it possible that the BUG 2346 came back? Any help would be greatly appreciated. Thanks, Diego -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Diego Julian Remolina
2006-Oct-31 17:31 UTC
[Samba] Excel Read only file bug back on 3.0.23x?
Here are more findings, The problem is repeatable upon a fresh restart on the CentOS 4 machine with samba 3.0.23c for new files as follows: 1. Craig creates a new excel file and saves it as Test.xls 2. Andrea opens the file, make modifications to it and hits save. Now she gets an error message: The Document was saved succesfully, but Excel cannot re-open it because of a sharing violation. Please close the document and try to open it again. 3. Now someone has to right click on the document, remove the read-only attribute and then both Craig or Andrea will be able to save any changes to the file without issue. 4. Another user, Lorne, opens the file, makes changes, then saves and the problem comes back. However after saving and clearing the read-only box now the 3 current users either owning the file or listed in the ACLS will be able to modify the file without further problems until a new user that does not own the file, nor is listed in the extended ACLs opens the file (even while he is part of the "P3 Admin" group tha already has rw permissions). The folder permissions are shown below and all the users are part of the group that owns the folder: [root@p3ha1 Admin]# ls -ld . drwxrws---+ 20 administrator P3 Admin 8192 Oct 31 10:52 . [root@p3ha1 Admin]# getfacl . # file: . # owner: administrator # group: P3\040Admin user::rwx group::rwx other::--- default:user::rwx default:group::rwx default:group:P3\040Admin:rwx default:mask::rwx default:other::--- [root@p3ha1 Admin]# getfacl Project\ Schedule\ Overview\ 11-06-06.xls # file: Project\040Schedule\040Overview\04011-06-06.xls # owner: abeck # group: P3\040Admin user::rw- user:lwestfall:rw- user:cjames:rw- group::rwx mask::rwx other::--- [root@p3ha1 Admin]# ls -l Project\ Schedule\ Overview\ 11-06-06.xls -rw-rwx---+ 1 abeck P3 Admin 177152 Oct 31 10:52 Project Schedule Overview 11-06-06.xls All the users are part of the "P3 Admin" group. Diego Roland Hordos wrote:> Is your problem repeatable, for all users, and even on a fresh smb > restart? For me it is not and this is the trickiest part of tracing > this bug. > > I am desperately trying to resolve this as well. Have not received any > replies from this board whatsoever. Currently re-visiting every > parameter and samba default setting change across releases. Good luck > and please post any results. > > thanks, Roland; > > > -----Original Message----- > From: samba-bounces+rolandhordos=tundraeng.com@lists.samba.org > [mailto:samba-bounces+rolandhordos=tundraeng.com@lists.samba.org]On > Behalf Of Diego Julian Remolina > Sent: Monday, October 30, 2006 10:50 AM > To: samba@lists.samba.org > Subject: [Samba] Excel Read only file bug back on 3.0.23x? > > > Hi, > > I believe that the BUG 2346 which was resolved in samba 3.0.14 has come > back in the 3.0.23 series. > Here is what I have noticed on two separate configurations. The samba > packages were built on each > machine using rpmbuild with the SRPMS provided for Fedora in the samba > web site. > > Configuration 1. > Two machines running with RHEL4, samba 3.0.23b-1, drbd-0.7.21 protocol > C. > Kernel: 2.6.9-42.0.3.ELsmp > > Configuration 2. > Two machines running with CentOS 4, samba 3.0.23c-4, drbd-0.7.21 > protocol C. > Kernel: 2.6.9-42.0.2.ELsmp > > I do not believe none of this is related to DRBD, but I mention it just > in case. The problem occurs > as follows: > > 1. User Alice opens an excel files owned by her, makes changes and saves > it. > 2. User Bob opens the same file which Alice just saved and makes come > changes. When Bob saves the > file, he gets a warning that there is a problem and that changes could > not be saved, however changes > are saved. > 3. Either Alice or Bob try to open the file and now it is a read only > file. > > The only way anyone can save the file is if they first right click on it > and uncheck the read-only > checkbos prior to openning. However, the next time a different user > opens the file and saves it, the > problem comes back. > > Are there any settings that can be changed in smb.conf to help prevent > this front happening? Is > anyone else experiencing this behaviour? Is it possible that the BUG > 2346 came back? > > Any help would be greatly appreciated. > > Thanks, > > Diego
Apparently Analagous Threads
- again on file corruption
- FC6 and winbind separator ignored?
- Request for Feature: Debug IP List
- URGENT: Update issues from 3.6.6 to 3.10.2 Accessing files via samba come up with permission denied
- URGENT: Update issues from 3.6.6 to 3.10.2 Accessing files via samba come up with permission denied