Hi allI have prepared a preliminary patch for wheezy. I have not yet been able to test it fully (it is building right now). It looks like attached. You may need to modify it for later versions.Please comment. The principles should be ok even if I may have made some stupid copy+paste mistake. It worked fine in a little test program I made.Hope this helps// Ola--On Mon, Aug 1, 2016 at 5:53 AM, Chris Lamb <lamby@debian.org> wrote:> 2) How do you plan to handle the "upgrade case" that is will you try to
> change the permission on already created history file or will you just
> handle the creation case?
For redis, what I did was set and then unset the umask (for creation) and
chmod(2) the file afterwards to "upgrade" existing ones.
I don't recommend a postinst approach (ie. chmod 0600 /home/*/.filename) for
various reasons.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
--- Inguza Technology AB --- MSc in Information Technology ----/ ola@inguza.com Folkebogatan 26 \| opal@debian.org 654 68 KARLSTAD || http://inguza.com/ Mobile: +46 (0)70-332 1551 |\ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 /---------------------------------------------------------------