[prev in list] [next in list] [prev in thread] [next in thread]
List: klik-devel
Subject: [klik-devel] [klikclient commit] r1630 -
From: codesite-noreply () google ! com
Date: 2008-07-30 0:24:46
Message-ID: 0016e64ca7d69f8e1d045332c80c () google ! com
[Download RAW message or body]
Author: lionel.tricon
Date: Tue Jul 29 08:40:43 2008
New Revision: 1630
Modified:
trunk/client/trunk/kfakechroot/src/libfakechroot.c
Log:
If we try to emulate root, we need to hide the fact chown cannot change owner
Modified: trunk/client/trunk/kfakechroot/src/libfakechroot.c
==============================================================================
--- trunk/client/trunk/kfakechroot/src/libfakechroot.c (original)
+++ trunk/client/trunk/kfakechroot/src/libfakechroot.c Tue Jul 29
08:40:43 2008
@@ -1045,7 +1045,9 @@
expand_chroot_path(path, fakechroot_path, fakechroot_ptr, fakechroot_buf);
if (getenv("FAKECHROOT_DEBUG")) fprintf(stderr, "# expand_chroot_path
chown(%s)\n", path);
if (next_chown == NULL) fakechroot_init();
- return next_chown(path, owner, group);
+ if (getenv("FAKECHROOT_SU_ROOT") == NULL) return next_chown(path,
owner, group);
+ (void)next_chown(path, owner, group);
+ return 0;
}
_______________________________________________
klik-devel mailing list
klik-devel@kde.org
https://mail.kde.org/mailman/listinfo/klik-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic