Re: non-root installation of fluka

From: Vasilis Vlachoudis <>
Date: Thu, 18 Jun 2009 14:43:55 +0200

Dear Salvatore,

please test the new rpm file I've just uploaded (sorry but it has the
same name). I think that the problem is not in the use of the
$RPM_BUILD_ROOT but rather to use the %{_sysconfdir} rpm variable for
pointing to the /etc directory.


Salvatore Podda wrote:
> Dear Vasilis,
> I agree, the spec file use to make the rpm results to be correct.
> However I tried everything. Our systems is based an AFS file system.
> I changed the "afs acl's" in the directories tree
> "/user_home/etc/profile.d".
> I changed Linux file access permissions. The error still remains.
> It do not seem suspicious that the error log:
>> [user_at_host:dir] rpm -iv --force /luka-2008.3-7.i386.rpm --root
>> user_home --prefix user_home -dbpath var/lib/rpm --nodeps
>> Preparing packages for installation...
>> fluka-2008.3-7
>> error: unpacking of archive failed on file
>> /etc/profile.d/fluka.csh;4a2fc164: cpio: open failed - Permission denied
>> [user_at_host:dir]
> mentions the /etc/profile.d/ directory without $RPM_BUILD_ROOT prefix
> (my home directory)?
> Many thanks
> Salvatore
> On 12/giu/09, at 09:10, Vasilis Vlachoudis wrote:
>> Dear Salvatore,
>> here is the spec file use to make the rpm. The RPM_BUILD_ROOT
>> directory is included in the creation of the /etc/profile.d/fluka.*sh
>> files. I don't understand why it should not work then.
>> Cheers
>> Vasilis
Received on Thu Jun 18 2009 - 15:34:26 CEST

This archive was generated by hypermail 2.2.0 : Thu Jun 18 2009 - 15:34:26 CEST