perfsonar-dev - Re: [pS-dev] Help with .deb packages
Subject: perfsonar development work
List archive
- From: Gijs Molenaar <>
- To: Cándido Rodríguez Montes <>
- Cc: " List" <>
- Subject: Re: [pS-dev] Help with .deb packages
- Date: Wed, 20 Aug 2008 13:34:34 +0200
- Openpgp: id=72EE99CA
Cándido Rodríguez Montes wrote:
> Hi Gijs,
>
> El 20/08/2008, a las 13:06, Gijs Molenaar escribió:
>
>>>
>>> But the main problem I'm having right now is that I don't know how to
>>> assign right user permissions to the files contained in the package. If
>>> I execute "dpkg-buildpackage" as root user, all files are owned by root
>>> user. How to change it to the user tomcat55? Are you executing that
>>> command as root user?
>>
>> You can do a "chown tomcat55 <file>" the debian/postrm script which is
>> run after installation of the package. There are examples postrm scripts
>> in the repository.
>>
>
> Looking at those examples, no one is doing that. So, your files (or
> files of the MA) are owned by root too? I read in the product build
> guide that files have to be writable by the user tomcat55. So, how can I
> get it?
> I attach the output of executing "dpkg-buildpackage -d" and the content
> of the package, maybe you can see my problem :(
>
i'm sorry, I mean postinst.
http://anonsvn.internet2.edu/svn/perfsonar/trunk/packaging/deb/ps-mdm-flowsa-ma/postinst
Build output looks fine to me ;)
--
Gijs Molenaar
fingerprint C660 BABA 4B91 4B5C EB60 7739 4385 8ABA 72EE 99CA
Attachment:
signature.asc
Description: OpenPGP digital signature
- Help with .deb packages, Cándido Rodríguez Montes, 08/20/2008
- Re: [pS-dev] Help with .deb packages, Gijs Molenaar, 08/20/2008
- Re: [pS-dev] Help with .deb packages, Cándido Rodríguez Montes, 08/20/2008
- Re: [pS-dev] Help with .deb packages, Gijs Molenaar, 08/20/2008
- Re: [pS-dev] Help with .deb packages, Gijs Molenaar, 08/20/2008
- Re: [pS-dev] Help with .deb packages, Cándido Rodríguez Montes, 08/21/2008
- Re: [pS-dev] Help with .deb packages, Cándido Rodríguez Montes, 08/20/2008
- Re: [pS-dev] Help with .deb packages, Gijs Molenaar, 08/20/2008
Archive powered by MHonArc 2.6.16.