On Sat, 2006-06-03 at 12:51 +0800, sssslang wrote:
> I did.
> 
> The problem is I can make the package, but the package's owner is not
> root. So when I install the package, the /usr(for example)'s privilege
> is changed to the normal user who build the package.
> 
> On Sat, Jun 03, 2006 at 12:24:27AM -0500, Jesse Young wrote:
> > 
> > 
> > In the file /etc/makepkg.conf make sure the line
> > export USE_FAKEROOT="y"
> > is uncommented and set to "y"
> > 
> 
> On Sat, Jun 03, 2006 at 12:20:13AM -0400, Eric Belanger wrote:
> > 
> > 
> > Is is enabled in your makepkg.conf?
> > 
> > $ grep USE_FAKEROOT  /etc/makepkg.conf
> > should give you:
> > export USE_FAKEROOT="y"

You have to install fakeroot and then build the package. Fakeroot will
tell tar that all files in pkg/ are owned by the root user, so the files
in the package show up as owned by uid 0.


_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to