[Pkg-kde-extras] Bug#494692: Fix crosstool distribution in icecc if user != root

Sebastian Siewior sebastian at breakpoint.cc
Mon Aug 11 14:28:11 UTC 2008


Package: icecc
Version: 0.9.1-1
Tags: patch

After the distribution the final tar fails with
| futimesat(AT_FDCWD, ".", {{1218463899, 357028}, {1218191506, 0}}) = 2
because . is owned by root:icecc instead of icecc:icecc. The patch
attached fixes it.


--- a/daemon/environment.cpp	2008-08-11 14:06:25.000000000 +0000
+++ b/daemon/environment.cpp	2008-08-11 14:08:01.000000000 +0000
@@ -312,7 +312,7 @@
         return 0;
     }
 
-    chown( dirname.c_str(), 0, nobody_gid );
+    chown( dirname.c_str(), nobody_uid, nobody_gid );
     chmod( dirname.c_str(), 0770 );
 
     int fds[2];





More information about the pkg-kde-extras mailing list