[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
How To Solve Problems While Relocating a Package Installation using Prefix
- From: "sjonnalagadda" <sjonnalagadda osi-tech com>
- To: rpm-list redhat com
- Subject: How To Solve Problems While Relocating a Package Installation using Prefix
- Date: Thu, 21 Aug 2003 16:56:08 +0530
Hello All,
I am Using RPM version 4.0.4 on RH7.2.
I have an RPM which has a prefix tag saying
prefix : /tmp
and all the files are installed in /tmp folder so that the relocation
command will work while using rpm -ivh <<filename.rpm>> --prefix=/home/ebiz
But The main problem is one of the files in the installed rpm need to
have a different ownership permissions.
i.e., (root root /tmp/a.html)
(ebiz ebiz /tmp/b.html)
(root root /tmp/c.html)
If i Use %defattr or chown command to change the permission of the file
after installation, I need to specify the path of the file which will again
be dependent on the --prefix option given by the installation user.
If no prefix option is given , simply %defattr can be used.
Can any one help me.. and get me out of this ignorance, i am basically a
newbie in this RPM field.
Regards
J.S.Murthy
www.osi-tech.com
Hyderabad/india
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]