[Bug 1003495] fontconfig creates $HOME/.config directory owned by root, breaking Koji builds

bugzilla at redhat.com bugzilla at redhat.com
Mon Sep 2 09:16:54 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=1003495



--- Comment #2 from Richard W.M. Jones <rjones at redhat.com> ---
Created attachment 792774
  --> https://bugzilla.redhat.com/attachment.cgi?id=792774&action=edit
test.spec

The attachment is a minimal test which demonstrates the problem.
You will need to have a Fedora packager account in order to
run this test.

After downloading 'test.spec', do:

rpmbuild -ba --define "_sourcedir $(pwd)" test.spec
koji build --scratch rawhide $HOME/rpmbuild/SRPMS/test-0-6.src.rpm

You will see a scratch build in Koji (which will fail), like this one:

http://koji.fedoraproject.org/koji/taskinfo?taskID=5881569

If you then examine the build.log file, you will see this output
showing the $HOME/.config file with bad ownership:

+ ls -al /builddir
total 32
drwx------.  4 mockbuild mockbuild 4096 Sep  2 09:15 .
dr-xr-xr-x. 18 root      root      4096 Sep  2 09:15 ..
-rwxr-xr-x.  1 mockbuild mockbuild   18 Aug  9 12:08 .bash_logout
-rwxr-xr-x.  1 mockbuild mockbuild  193 Aug  9 12:08 .bash_profile
-rwxr-xr-x.  1 mockbuild mockbuild  231 Aug  9 12:08 .bashrc
drwxr-xr-x.  3 root      root      4096 Sep  2 09:15 .config
-rw-rw-r--.  1 mockbuild mockbuild  211 Sep  2 09:15 .rpmmacros
drwxr-xr-x.  9 mockbuild mockbuild 4096 Sep  2 09:15 build
+ mkdir -p /builddir/.config/test
mkdir: cannot create directory '/builddir/.config/test': Permission denied

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=r5EXNBysff&a=cc_unsubscribe


More information about the fonts-bugs mailing list