Re: Problem with special permissions of config file
On Wed, May 30, 2001 at 08:14:52PM +0200, Stefan Hornburg (Racke) wrote:
>
> My package courier-authmysql has a configuration file where the
> password for the MySQL database can be stored. So I set this
> file to 600 in postinst. But dpkg put the backup file .dpkg-old
> in the same directory with 622 which seems a rather bad idea
> to me. Is there anything I can do about it ?
>
> It is a potato backport where this happened, I didn't try it
> out on sid.
Set the perms in the package, so the file gets installed with the
correct perms. Don't set perms in postinst like this.
Ben
--
-----------=======-=-======-=========-----------=====------------=-=------
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
Reply to: