Re: Best practice to allow a program to write its logs

2020-04-12 Thread Reco
Hi. On Sun, Apr 12, 2020 at 05:00:09PM +0200, l0f...@tuta.io wrote: > Hi, > > Oops, I didn't answer to that, sorry... No big deal. This is a maillist, we have nothing to hurry here :) > > It all works - conventional POSIX permissions, ACLs, xattrs, SELinux > > Labels, etc. Until you tr

Re: Best practice to allow a program to write its logs

2020-04-12 Thread l0f4r0
Hi, Oops, I didn't answer to that, sorry... 23 févr. 2020 à 21:08 de recovery...@enotuniq.net: > On Sun, Feb 23, 2020 at 08:31:59PM +0100, l0f...@tuta.io wrote: > >> 23 févr. 2020 à 18:02 de recovery...@enotuniq.net: >> >> > Clever, but not any filesystem supports ACL. >> > And you would have cr

Re: Best practice to allow a program to write its logs

2020-02-24 Thread Jonathan Dowland
On Sun, Feb 23, 2020 at 05:31:21PM +0100, l0f...@tuta.io wrote: What is the best practice please to allow a program to write its logs into my home folder? In the near future (systemd ≥ 245), using journald's "Journal namespaces" feature to run an isolated journald instance, logging to a file i

Re: Best practice to allow a program to write its logs

2020-02-23 Thread Reco
Hi. On Sun, Feb 23, 2020 at 08:31:59PM +0100, l0f...@tuta.io wrote: > 23 févr. 2020 à 18:02 de recovery...@enotuniq.net: > > > Clever, but not any filesystem supports ACL. > > And you would have created a problem by your own hands if you're doing > > backups (depends on a type of a backup

Re: Best practice to allow a program to write its logs

2020-02-23 Thread l0f4r0
Hello, Thanks for your answer :) 23 févr. 2020 à 18:02 de recovery...@enotuniq.net: > Clever, but not any filesystem supports ACL. > And you would have created a problem by your own hands if you're doing > backups (depends on a type of a backup, of course). > Interesting... but I'm using ext4 ev

Re: Best practice to allow a program to write its logs

2020-02-23 Thread Reco
Hi. On Sun, Feb 23, 2020 at 05:31:21PM +0100, l0f...@tuta.io wrote: > What is the best practice please to allow a program to write its logs into my > home folder? Normally I follow "give the asking one whatever's asked" rule, but here I just have to ask - what exactly you've achieved her

Best practice to allow a program to write its logs

2020-02-23 Thread l0f4r0
Hi, What is the best practice please to allow a program to write its logs into my home folder? So far for example, I've configured msmtp to write logs into /home/l0f4r0/.msmtp.log. By default, msmtp doesn't have any write permission for this file so I have managed this case by affecting msmtp