It's environment specific rather than document specific. The following
steps should replicate the situation I have under Linux:

1 Create a document and save it.
2 Change the file permissions from the command line so the file cannot be 
written to.
3 Make a change and attempt to save the document, this results in an error.
4 Change the permissions back.
5 Save as with the same file name, and the operation fails as the document is 
now considered opened in read-only mode.

The same problem probably manifests if a write-protected file is opened,
the permissions relaxed, and then saved in the same location.

The bug is that once a file is found to be read-only, the condition is
never checked again, rather than checked at each save as it should be.

Cheers,

Ben
________________________________________
From: [email protected] [[email protected]] on behalf of Christopher M. 
Penalver [[email protected]]
Sent: 30 July 2011 15:07
To: Benjamin Wright
Subject: [Bug 816321] Re: If a document is opened read-only,    you can't save 
it after changing permissions

Benjamin Wright, thank you for taking the time to report this and
helping make Ubuntu better. Could you please attach the document that
demonstrates this problem?

** Changed in: libreoffice (Ubuntu)
       Status: New => Incomplete

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/816321

Title:
  If a document is opened read-only, you can't save it after changing
  permissions

Status in “libreoffice” package in Ubuntu:
  Incomplete

Bug description:
  If a document is opened read-only, you can't save it under the same
  filename in the same place even after changing file permissions to
  make the file writeable. The workaround is to save a second copy, then
  save over the first again.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: libreoffice-core 1:3.3.2-1ubuntu5
  ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
  Uname: Linux 2.6.38-10-generic i686
  Architecture: i386
  Date: Tue Jul 26 10:23:53 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
  ProcEnviron:
   LANGUAGE=en_GB:en
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: libreoffice
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/816321/+subscriptions

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/816321

Title:
  If a document is opened read-only, you can't save it after changing
  permissions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/816321/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to