Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#7783 - fakeroot + install perm errors

Attached to Project: Arch Linux
Opened by icarus homewood (icarus) - Sunday, 12 August 2007, 01:45 GMT
Last edited by Roman Kyrylych (Romashka) - Monday, 13 August 2007, 07:36 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version 2007.08 Don't Panic
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

IRC folks told me to report this:

System:

Arch64 fully upgraded
fakeroot 1.7.1-2


Issue:

[icarus@Omega cowpatty]$ fakeroot install dict -o root -g root -m 0664 ../../pkg/usr/share/cowpatty/dict
[icarus@Omega cowpatty]$ ls -l ../../pkg/usr/share/cowpatty/dict
-rw-rw-r-- 1 icarus users 83919 2007-08-11 18:29 ../../pkg/usr/share/cowpatty/dict
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Monday, 13 August 2007, 07:36 GMT
Reason for closing:  Not a bug
Comment by Jan de Groot (JGC) - Sunday, 12 August 2007, 10:08 GMT
That's why it's fake. Try this:

fakeroot
install dict -o root -g root -m 0644 ../../pkg/usr/share/cowpatty/dict
ls -l ../../pkg/usr/share/cowpatty/dict

As fakeroot is fake, it won't actually chown the files to root. It pretends it did to everything that runs inside fakeroot. When you tar it up inside fakeroot, tar thinks the files are owned by root and adds them to the archive like that.
Comment by Roman Kyrylych (Romashka) - Monday, 13 August 2007, 07:36 GMT
icarus requested removal with this reason: stupid mistake on my (and freenode's #archlinux) folks

Loading...