From patchwork Sat May 25 20:33:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 246353 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id D84FE2C0087 for ; Sun, 26 May 2013 06:33:46 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C9FF010BFE4; Sat, 25 May 2013 20:33:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uWMNXf7SH-pf; Sat, 25 May 2013 20:33:24 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id E1B3810BFDD; Sat, 25 May 2013 20:33:23 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 97AA48F75E for ; Sat, 25 May 2013 20:33:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 75C7A8F668 for ; Sat, 25 May 2013 20:33:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OPtwlD6RomPn for ; Sat, 25 May 2013 20:33:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0483A8F662 for ; Sat, 25 May 2013 20:33:40 +0000 (UTC) Received: by mail-wg0-f47.google.com with SMTP id e11so3365069wgh.26 for ; Sat, 25 May 2013 13:33:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer; bh=tV1a2lewevixc5x34UlujnJoZ+cAGjK6A6lw0KixPeA=; b=wWSvWCbdQgIfEOEiua1KYbJKYWdyCWlsgNyDC+0lxiJqcZNFxJBecDlEe9N6wNubiJ UJ/AvadhfRCqn+m/tSFWuE09Y3y2W9fSmzCJMVw6CxAOQWymfndk49ZUyvixlHlIhH8K CSi0XZ4NN/5fdLkxXyItfrJkUzEvJDhrbpvYmSHcsiltfLeUW6HZ0rCZGEKgvW2AEPTb QTZ6jOAkztsDp61S3t/9m8DjoFxjEId3nqW+K+6Tpii8ULhEqRazNbhOABwau7BSb2xJ YhYfs4NW/8cOhPSyJyjnYhPNETaa4ioi+uLlpWR/VORXuryYbszC5jvx0WhbufoZbaxj 0afg== X-Received: by 10.180.198.44 with SMTP id iz12mr3160188wic.44.1369514019104; Sat, 25 May 2013 13:33:39 -0700 (PDT) Received: from gourin.bzh.lan (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPSA id f2sm7128811wiv.11.2013.05.25.13.33.37 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 25 May 2013 13:33:38 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sat, 25 May 2013 22:33:32 +0200 Message-Id: <1369514012-19606-1-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.8.1.2 Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH] system/device-table: do not set /home/default stgid X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: "Yann E. MORIN" Currently, /home/default is mode 2755 which means it is setgid. Since /home/default is not group-writable, it is useless. Signed-off-by: "Yann E. MORIN" Acked-by: Samuel Martin --- AFAICS, there is no reason that /home/default be setgid. However, I have not audited all packages to check whether one would require that. --- system/device_table.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/device_table.txt b/system/device_table.txt index 421728b..43c0cfa 100644 --- a/system/device_table.txt +++ b/system/device_table.txt @@ -9,7 +9,7 @@ /dev d 755 0 0 - - - - - /tmp d 1777 0 0 - - - - - /etc d 755 0 0 - - - - - -/home/default d 2755 1000 1000 - - - - - +/home/default d 755 1000 1000 - - - - - /var/www d 755 33 33 - - - - - /etc/shadow f 600 0 0 - - - - - /etc/passwd f 644 0 0 - - - - -