<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Unwanted change in filesystem ownership when saving documents"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135356">135356</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Unwanted change in filesystem ownership when saving documents
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.4.5.1 rc
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Base
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>pgl@otenet.gr
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When LibreOffice saves documents, it changes their file permissions. This
behaviour:

a) messes with the workflow in my household, where we share one big disk, have
unix users for each member, and a 'family' unix group, which allows us to e.g.
edit all sorts of files owned by other members in the 'family' group

b) goes against what I perceive as standard practice (that personal files'
ownership and permissions should only be changed when the users request such a
change), though I'm not sure if there's any standardization document that
supports this claim

Steps to Reproduce:
1. Create any document with default unix permissions of anyuser:anyuser
2. Change the group of the document, e.g with `chown anyuser:anygroup document`
3. Save the document (tested it with both Writer and Calc)

Actual Results:
Ownership is now `anyuser:anyuser`

Expected Results:
Ownership should still be `anyuser:anygroup`


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Fixing this bug, will most likely fix
<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Can't save LibO file into SSHFS share"
   href="show_bug.cgi?id=36827">https://bugs.documentfoundation.org/show_bug.cgi?id=36827</a> as well</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>