'su lyx' changes file access privileges
paolo m.
paolo.pumilia at gmail.com
Sun Sep 27 11:19:52 UTC 2020
Sometimes, while in user1 session, I find convenient launching lyx as user2
(same group as user1) to open a lyx file, through 'su'.
As user2 changes and save that file, access privileges are changed as well.
That does not happen when a text file is opened by kwrite, so it should be
something specific to lyx.
Before 'su' switch:
text file x -rw-rw-r--
lyx file xx.lyx -rw-rw-r--
Switching and modifying file x (by kwrite) and xx.lyx (by lyx):
x -rw-rw-r--
xx.lyx -rw-------
(Same results when launching 'dolphin' file manager as user2 to open a lyx
file, through 'su'').
More information about the lyx-users
mailing list