Hi Panu, We built software stack of ~250 RPMs, which is later installed on user machines and GRID sites. That stack also includes standard linux packages, e.g., zlib. Here is the patch we use on 4.8.0: http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/COMP/CMSDIST/rpm-4.8.0-remove-chroot-check.patch?revision=1.1 Where are more patches, and some of them seems to be already in latest RPM. david On Apr 1, 2013, at 11:20 AM, Panu Matilainen wrote: > On 04/01/2013 11:19 AM, Panu Matilainen wrote: >> On 04/01/2013 08:48 AM, David Abdurachmanov wrote: >>> Hi, >>> >>> Currently I am using RPM 4.8.0, which quite some patches already. >>> Oneof is ability to install packages as user, not at as root. We are >>> running a system where all your packages must be installed with a >>> special user, which is not root for security reasons. >>> >>> Does RPM 4.11.0.1 already has the options for non-root install, or >>> it still requires patching to drop root user check? >> >> Generally rpm doesn't much care about the actual user used to run it, >> but come to think of it, there's about one spot where rpm explicitly >> checks for root, which is chmod() and friends which traditionally >> require root. >> >> I suppose your special user is roughly equal to root in terms of >> privileges, just a different uid? That's a different case from what >> people typically refer to as "non-root installation" (meaning >> installation by non-privileged user), and okay I can see how that would >> be problematic - yes the ancient check surrounding chmod() is still there. > > Erm... chown(), not chmod(). > > - Panu - > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxxxxx > http://lists.rpm.org/mailman/listinfo/rpm-list _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list