On 2020/05/27 13:21, Solene Rapenne wrote:
> Le Wed, 27 May 2020 11:55:20 +0100,
> Stuart Henderson <[email protected]> a écrit :
> 
> > On 2020/05/27 12:47, Solene Rapenne wrote:
> > >  share/examples/i2pd/
> > >  share/examples/i2pd/certificates/
> > >  share/examples/i2pd/certificates/family/
> > > -@sample ${LOCALSTATEDIR}/lib/  
> > 
> > That @sample should remain where it is (it was moved down in the file,
> > _after_ the subdirectories are created), and there should be
> > additional @sample for
> > 
> > @sample ${LOCALSTATEDIR}/lib/i2pd/
> > @sample ${LOCALSTATEDIR}/lib/i2pd/certificates/
> > @sample ${LOCALSTATEDIR}/lib/i2pd/certificates/family/
> > @sample ${LOCALSTATEDIR}/lib/i2pd/certificates/reseed/
> > @sample ${LOCALSTATEDIR}/lib/i2pd/certificates/router/
> 
> those are already in my previous mail
> 
> @owner _i2pd
> @group _i2pd
> @sample ${SYSCONFDIR}/i2pd/
> @sample ${LOCALSTATEDIR}/lib/i2pd/
> @sample ${LOCALSTATEDIR}/lib/i2pd/certificates/
> @sample ${LOCALSTATEDIR}/lib/i2pd/certificates/family/
> @sample ${LOCALSTATEDIR}/lib/i2pd/certificates/reseed/
> @sample ${LOCALSTATEDIR}/lib/i2pd/certificates/router/

Oh, I see. So "@sample ${LOCALSTATEDIR}/lib/" needs to be listed before
"@sample ${LOCALSTATEDIR}/lib/i2pd/".

> I'll add this after previous lines
> @sample ${LOCALSTATEDIR}/lib/i2pd/


> 
> > >  share/examples/i2pd/certificates/family/gostcoin.crt
> > > -@owner _i2pd
> > > -@group _i2pd
> > >  @sample ${LOCALSTATEDIR}/lib/i2pd/certificates/family/gostcoin.crt
> > > -@owner
> > > -@group  
> 
> > I have no idea (or interest) in i2pd, does it need to write to those
> > files/directories at runtime? If so then at least the directories,
> > maybe also the files, need to keep @owner/group set.
> > 
> 
> it only need to read config in /etc/i2pd/ and read/write in
> /var/lib/i2pd/

Does it need to rewrite existing files in /var/lib/i2pd/?

Reply via email to