PDA

View Full Version : how to give in ubuntu



munna_dude
September 6th, 2007, 12:48 PM
hi all
let me explain about my problem

this is my querry in fedora forum


i created a rpm for my application.
i am asking about, is there any way to write in spec file.....
at the time of installation give the permission to a file placed in /usr/lib/

how to give the permissions for that file in /usr/lib while installing the rpm.

for this, how to write in spec file.
please help me

thank you in advance


and the responce is


Use the %attr directive in the %files section to set file ownership and permissions


this is worked fine for rpm...


my querry is

how to give the file permissing while installing the .deb package.

please help me

thank you in advance

slavik
September 6th, 2007, 01:57 PM
post-install script. :)

munna_dude
September 7th, 2007, 05:20 AM
post-install script. :)

sorry i am unable to get this..

can you please helpme..

thank you in advance

nanotube
September 7th, 2007, 06:01 AM
sorry i am unable to get this..

can you please helpme..

thank you in advance

i use the epm package creator to make .debs - and there you specify directly in the .list file what ownership and permissions you want for all your files.

here's the link to the project site:
http://www.easysw.com/epm/