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

Re: Upload of dtc-xen 0.5.13-1+squeeze1 in squeeze-proposed-updates



On Tue, 2011-07-26 at 21:25 +0200, Thomas Goirand wrote:
> Since the beginning, dtc-xen is generating SSL keys with openssl for
> it's SOAP server. To have the keys using the correct Unix right, I used
> umask before calling openssl. Unfortunately, later on (years later), I
> added a chmod 644 /etc/dtc-xen/*, which unfortunately, destroyed
> previous use of umask, and then now the keys are world readable.
[...]
> -chmod 644 ${DTCXEN_ETCPATH}/*
>  chmod 600 ${DTCXEN_ETCPATH}/dtc-xen.conf
> +chmod 600 /etc/dtc-xen/dtc-xen.cert.cert /etc/dtc-xen/dtc-xen.cert.csr
> /etc/dtc-xen/dtc-xen.cert.key

Hmmm, should the new chmod be using ${DTCXEN_ETCPATH} here?

Regards,

Adam


Reply to: