Bug 103085 - Should check if LibreOffice has enough file permissions on temporary and backup directories on startup
Summary: Should check if LibreOffice has enough file permissions on temporary and back...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 161977 (view as bug list)
Depends on:
Blocks: AutoSave-AutoRecovery-Backup
  Show dependency treegraph
 
Reported: 2016-10-10 10:29 UTC by David Abián
Modified: 2024-07-25 15:00 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Abián 2016-10-10 10:29:37 UTC
Description:
LibreOffice seems not to be checking out that it has the corresponding r/w permissions over the directories for temporary files and for backups. This should be checked out on startup, before working on any file.

In my case, LibreOffice didn't had those permissions (write permissions over /tmp/) and, when LibreOffice Writer crashed, a backup couldn't be saved. I lost all my work. This shouldn't happen more times, it's really bad for health. ;-)

Steps to Reproduce:
1. Open LibreOffice having configured a path without write permissions as the directory for temporary files.

Actual Results:  
This situation is not noticed and you start working on your files.

Expected Results:
A message appears telling you that LibreOffice has no permissions to work with the defined directory for temporary files, and suggesting that you change the path as soon as possible.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0
Comment 1 Thomas Hackert 2016-10-10 11:24:11 UTC
Hi David, *,
thank you for reporting this bug :) I can confirm your bug with

OS: Debian Testing AMD64

and have tested it with several LO versions back to

OpenOffice.org: 3.2.0
OOO320m11 (Build:9483)
(my oldest installed OOo version)

so setting this bug to new and version to "Inherited From OOo"

Steps to reproduce:

1. create a directory as root (e.g. "mkdir /tmp/test")
2. start LO
3. Go to "Tools - Options - LibreOffice - Paths" and change "Temporary files" to /tmp/test"
4. close LO
5. start LO again
6. press <Ctrl>+<N>
7. Write something (e.g. "Test")
8. press <Ctrl>+<S>
9. enter a file name for this file
10. press <Enter>

You will see a message
<quote>
Error saving the document Untitled1:
Write Error.
The file could not be written.
</quote>

HTH
Thomas.
Comment 2 QA Administrators 2017-10-23 14:08:01 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2019-12-03 13:53:32 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2021-12-03 04:21:13 UTC Comment hidden (obsolete)
Comment 5 Stéphane Guillou (stragu) 2024-07-25 14:54:09 UTC
*** Bug 161977 has been marked as a duplicate of this bug. ***