Mailinglist Archive: opensuse-packaging (151 mails)
| < Previous | Next > |
[opensuse-packaging] Owner and group ignored?
- From: Dan Stromberg <dstromberglists@xxxxxxxxx>
- Date: Mon, 07 Jan 2008 15:48:37 -0800
- Message-id: <4782BA55.5040208@xxxxxxxxx>
I have a spec file with:
%files -f /tmp/datallegro-base-files-for-rpm
...and in /tmp/datallegro-base-files-for-rpm I have things like (for example) :
%attr(664,ingres,ingres) /datallegro/CHANGES
%dir %attr(775,ingres,ingres) /datallegro/bin
%attr(775,ingres,ingres) /datallegro/bin/GetSOVersion
%attr(4755,root,root) /datallegro/bin/PriorityServer
%attr(775,ingres,ingres) /datallegro/bin/da_top
...but if I rpm2cpio the resulting rpm and pipe that into cpio -icvt, 100% of the files are under user root, group root. Also, the files in the $RPM_BUILD_ROOT are owned mostly by ingres - I can see that with ls.
We need to package the rpm -as- root, but we don't want all the files to be owned /by/ root on the target system.
Am I doing something wrong? Why are all these files coming up owned by root instead of by ingres?
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |