Apache OpenOffice (AOO) Bugzilla – Issue 72045
[Samba] Save as to a cifs share results in a read-only file.
Last modified: 2017-05-20 10:45:07 UTC
When using the File>Save As command and selecting a CIFS share that is mounted locally, the resulting saved file is 'Read Only' within OOo. Permissions on the file reflect 0777 from the Linux side. In addition, the file can be opened with Abiword and is editable. Further testing revealed that using the touch command on the file (after closing OOo) and then reopening provided an editable file. (where as merely reopening the file still presented a read only file.) The CIFS host is Windows 2003. The client is openSUSE 10.1 Steps to reproduce 1. Open a file, choose 'Save as' 2. Select a path that is a locally mounted CIFS share and save 3. See read only document.
Framework issue.
I just reproduced this problem on 2.0.4 as well.
TM->JSK: Please have a look. Thanks !
Hi ke4qqq, can you please give me the credentials you are passing to CIFS when mounting (those listed in /etc/fstab and/or in your credfile) ? Thanks, Joerg
Here is the line from /etc/fstab. //server/folders /mp/server/folders cifs credentials=/root/.smbcreds,dir_mode=0777,file_mode=0777 0 0 catting /root/.smbcreds gives: username=ke4qqq password=secretobfuscatedpassword I don't think this is a cifs mount issue, since the supposedly 'readonly' files can be opened fine with kword and abiword. Let me know what else I can do to help diagnose this bug.
*** Issue 72044 has been marked as a duplicate of this issue. ***
*** Issue 55532 has been marked as a duplicate of this issue. ***
To hro
SBA: This issue has a target set but is still in state of "Unconfirmed". Please re-check with OOo 3.0 or younger if it is (still) valid. Then confirm it or set an appropriate resolution. Thank you.
mav: Please take over.
Since OOo2.x there were already a big number of changes for the file locking implementation. Is the problem still reproducible in OOo3.2?
Reset the assignee to the default "issues@openoffice.apache.org".