oath-toolkit-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[OATH-Toolkit-help] issue (bug?) in update_usersfile


From: Felix Salfelder
Subject: [OATH-Toolkit-help] issue (bug?) in update_usersfile
Date: Mon, 8 Dec 2014 17:40:43 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi there.

update_usersfile does not only update the usersfile but also overwrites
owner/permissions. this is bad (i think in general). in particular this
is a show stopper for the private usersfile implementation (which is not
complete yet).

the attached patch works around this in my case, but may fail. for
example chown requires some privileges...

i don't know how to seamlessly update a file in place, maybe the proper
solution is to not replace that file at all.

cheers
felix

Attachment: 0001-restore-mode-ownership-after-rewriting-usersfile-wor.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]