[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4] daemon: Set ownership of kept build directories to the ca
From: |
Vincent Legoll |
Subject: |
Re: [PATCH v4] daemon: Set ownership of kept build directories to the calling user. |
Date: |
Fri, 23 Dec 2016 12:18:11 +0100 |
Hello,
+ // Change the ownership if clientUid is set. Never change the
+ // ownership or the group to "root" for security reasons.
+ if (settings.clientUid != (uid_t) -1 && settings.clientUid != 0) {
Is "0" a magical value that don't need casting or am I missing something ?
--
Vincent Legoll
- Re: [PATCH v4] daemon: Set ownership of kept build directories to the calling user.,
Vincent Legoll <=