Bug 101673 - FILESAVE to directory owned by root gives wrong error message
Summary: FILESAVE to directory owned by root gives wrong error message
Status: RESOLVED DUPLICATE of bug 40244
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Error-Messages
  Show dependency treegraph
 
Reported: 2016-08-22 20:42 UTC by bugcatcher1
Modified: 2022-12-31 15:06 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
file does not exist bogus error message (15.86 KB, image/png)
2016-08-22 20:42 UTC, bugcatcher1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugcatcher1 2016-08-22 20:42:40 UTC
Created attachment 126976 [details]
file does not exist bogus error message

This bug is similar – BUT NOT THE SAME – as Bug 40244.

I had just deleted everything from an old drive partition as part of a clean up project. Wanted to put a file in that partition as a message that clean up had been done. 

Attempted to write that file [1] to hard drive formatted with ext4. 
Got error message [2]. 
Discovered that the directory was  owned by “root”. Of course, the file was being edited by “user”. 

Error Message [2] is therefore bogus. Should read like [3], [4] or [5].


This is LibreOffice as packaged with Mint Linux 18. 
It reports itself as:
Version: 5.1.4.2
Build ID: 1:5.1.4-0ubuntu1
CPU Threads: 4; OS Version: Linux 4.4; UI Render: default; 
Locale: en-US (en_US.UTF-8)


[1] ‘Was Old Boot Drive – 100Gb Drive - IGNORE ME.odt’
[2] "Error saving the document <document name>: <path>/<document name> does not exist".
[3] "Error saving the document ….. User cannot write to directory owned by root"
[4] "Error saving the document ….. you are not directory owner"
[5] "Error saving the document ….. "insufficient permissions"

See attached picture.
Comment 1 Thomas Hackert 2016-08-28 07:54:47 UTC
Hello bugcatcher, *,
thank you for reporting this bug :) I can confirm it with

OS: Debian Testing AMD64
LO: Version: 5.2.0.4
Build-ID: 1:5.2.0-2
CPU-Threads: 4; BS-Version: Linux 4.5; UI-Render: GL; 
Gebietsschema: de-DE (de_DE.UTF-8)
(Debian's own version)

but also back to

OOo: OpenOffice.org 3.2.0
OOO320m12 (Build:9483
(parallel installed, following the instructions from https://wiki.documentfoundation.org/Installing_in_parallel/Linux)

so I am setting status to "New" and version to "Inherited from OOo", as this bug is also reproducible with the above mentioned OOo version. I would prefer to see your suggestion no.5 as an error message ... ;)
HTH
Thomas.
Comment 2 QA Administrators 2017-09-01 11:16:27 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2020-12-18 03:50:24 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2022-12-19 03:18:16 UTC Comment hidden (obsolete)
Comment 5 Stéphane Guillou (stragu) 2022-12-31 15:06:21 UTC
I don't see how this report is different to bug 40244, so marking as duplicate. Both are about saving a file to a directory not writable by the user.

*** This bug has been marked as a duplicate of bug 40244 ***