← Back to team overview

informix-isv team mailing list archive

Re: informix-oat ownership and permissions

 

Hi Brian,

thanks for reply. 

dh_fixperms is commented out in debian/rules file of this package. So I assume 
its called implicitly somewhere in the launchpad build process. The ownership 
and permissions in the sources (informix-oat_2.22-2.tar.gz) looks OK.

If this problem is difficult to resolve I think following command in the 
postinst script would fix the problem for us:
chown -R www-data:www-data /var/www/openadmin

Would this workaround be acceptable from your point of view?

Thanks,
Andreas


On Friday 17 October 2008 20:18:27 Brian Thomason wrote:
> Hi Andreas,
>
> I believe dh_fixperms does this.  You can use dh_fixperms -X to exclude
> files. (There's nothing launcpad specific doing it - just the build
> process.
>
> If you continue to have trouble let me know and I'll figure it out.
>
> -Brian
>
> On Fri, Oct 17, 2008 at 11:04 AM, Andreas Breitfeld 
<abreitfe@xxxxxxxxxx>wrote:
> > Hi,
> >
> > today I tested install of the updated informix-oat package version 2.22-2
> > from
> > the launchpad repository.
> >
> > Unfortunately the permission problem still exists. In the source file
> > informix-oat_2.22-2.tar.gz I see ownership of all files is
> > www-data:www-data.
> > But the files installed by the launchpad built package have ownership
> > root:root. In addition the permissions of files and directories are
> > changed to -rw-r--r-- and drwxr-xr-x . The package I built from the same
> > sources do not have these problems. Ownership and permissions of files
> > are preserved.
> >
> > Brian,
> >
> > it looks like there is some mechanism in the launchpad package built
> > process
> > which reset ownership and permissions if files. If this is true how the
> > ownership and permissions can be preserved?
> >
> > Thanks,
> > Andreas
> > --
> > Andreas Breitfeld; Informix Development Munich
> > IBM Deutschland Research & Development GmbH; Vorsitzender des
> > Aufsichtsrats:
> > Martin Jetter; Geschaeftsfuehrung: Erich Baier; Sitz der Gesellschaft:
> > Boeblingen; Registergericht: Amtsgericht Stuttgart, HRB 243294
> >
> > _______________________________________________
> > Mailing list:
> > https://launchpad.net/~informix-isv<https://launchpad.net/%7Einformix-isv
> >> Post to     : informix-isv@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe :
> > https://launchpad.net/~informix-isv<https://launchpad.net/%7Einformix-isv
> >> More help   : https://help.launchpad.net/ListHelp



-- 
Andreas Breitfeld; Informix Development Munich
IBM Deutschland Research & Development GmbH; Vorsitzender des Aufsichtsrats: 
Martin Jetter; Geschaeftsfuehrung: Erich Baier; Sitz der Gesellschaft: 
Boeblingen; Registergericht: Amtsgericht Stuttgart, HRB 243294



References