Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Help with .deb packages

Subject: perfsonar development work

List archive

Re: [pS-dev] Help with .deb packages


Chronological Thread 
  • From: Cándido Rodríguez Montes <>
  • To: Gijs Molenaar <>
  • Cc: " List" <>
  • Subject: Re: [pS-dev] Help with .deb packages
  • Date: Wed, 20 Aug 2008 13:32:29 +0200

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 :(

Thanks for your help!


Attachment: package.output
Description: Binary data

Attachment: contents.output
Description: Binary data



-- 
Gijs Molenaar
fingerprint C660 BABA 4B91 4B5C EB60 7739 4385 8ABA 72EE 99CA


--
Cándido Rodríguez Montes E-mail: 
Middleware warrior Tel:+34 955 05 66 13
Red.ES/RedIRIS
Edificio CICA
Avenida Reina Mercedes, s/n
41012 Sevilla
SPAIN




Attachment: PGP.sig
Description: Mensaje firmado digitalmente




Archive powered by MHonArc 2.6.16.

Top of Page