This is my first try at building rpms. I am using Centos5.
I am trying to create an rpm for some bash scripts
and I want to give different group ids to different
scripts as a method to control which users can use
which scripts. (Is there a better way?)
Script permissions and ownership should be a combination of
0755 root:root
0750 root:foo
0750 root:bar
0750 root

ther
I *am* able to build an rpm and it looks good in the
/var/tmp/blah-0.5/ directory, but after installing
on the target system, every script is root:root.
The foo, bar, and other groups exist on both the
build system and the target system.
This (and more, of course) is in my spec file:
Buildroot: %{_tmppath}/%{name}2-%{version}-%{release}-build
%prep
%setup -q
%build
make all
%install
make DESTDIR=%buildroot/ install
The make install is where the permissions and ownership
are set using ${INSTALL} ...
Why does it not show up right after 'rpm -i blah-blah'?
Also, how can I get around building this rpm as root,
since my 'make install' needs root privileges?
Thanks for any help.