'su lyx' changes file access privileges
paolo m.
paolo.pumilia at gmail.com
Thu Oct 1 11:40:11 UTC 2020
Pavel Sanda wrote:
> On Wed, Sep 30, 2020 at 10:04:20AM +0200, Pavel Sanda wrote:
>> On Sun, Sep 27, 2020 at 04:31:24PM +0200, paolo m. wrote:
>> > > Here it is for example
>> > > $ umask
>> > > 22
>> > >
>> > > Kornel
>> >
>> > Umask is the same for both users:
>> > % umask
>> > 002
>> >
>> >
>> > % grep -i umask /etc/zshenv
>> > umask u=rwx,g=rwx,o=rx
>>
>> Does umask output changes if you invoke su with '-', i.e.
>> su - user2
>
> Actually could you try to run lyx under '-' scenario as well? P
% su - user2
% umask
002
Umask does not change and lyx starts. File privileges are changed, as
before.
p.
More information about the lyx-users
mailing list