From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D7AEA138735 for ; Tue, 29 Jan 2013 10:20:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5456021C036; Tue, 29 Jan 2013 10:20:05 +0000 (UTC) Received: from mail-bk0-f49.google.com (mail-bk0-f49.google.com [209.85.214.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9539E21C00E for ; Tue, 29 Jan 2013 10:20:03 +0000 (UTC) Received: by mail-bk0-f49.google.com with SMTP id w11so145083bku.22 for ; Tue, 29 Jan 2013 02:20:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:in-reply-to:references :organization:x-mailer:mime-version:content-type :content-transfer-encoding; bh=PeifzKIYZUa0QDaEpT70hqdpx6AsyXGD1m4BD1gd4yU=; b=d0GOzXpJ9tLDqcISrBAQp2soTsIIUHCzgRVkEBJSC9tePs9HbmDS9ofVysQagh3bhe GGIGKfvdiSLvz2mkbVLXj32RLu199KryxNW9ctPy2sLvw63ReYsyb9KDiDcNRpDNwlhy V4gFa/97mGkg4InTadWOytksHv2MjnMbKMjep5Q6hxujwxASBod3FO381D4MO4fNFPke dPHSgihrINpBS+Zx0KIj1zO2BVTQ5+tZONm2L95kam1+vPJF6Bku8ENARLrbL1rlI8i8 h9i7KqA4WVghi9jkox6k5AhWnNtJx4R7I0nDpERZDi7rbQk5bBgxxRc20T3yDA9t3bsx S4ow== X-Received: by 10.204.146.1 with SMTP id f1mr159197bkv.130.1359454801934; Tue, 29 Jan 2013 02:20:01 -0800 (PST) Received: from khamul.example.com (dustpuppy.is.co.za. [196.14.169.11]) by mx.google.com with ESMTPS id fs20sm6014858bkc.8.2013.01.29.02.19.59 (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 29 Jan 2013 02:20:01 -0800 (PST) Date: Tue, 29 Jan 2013 12:19:16 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] net-mail/mailbase-1.1 and access rights of /var/spool/mail Message-ID: <20130129121916.7e954409@khamul.example.com> In-Reply-To: <201301290638.08057.michaelkintzios@gmail.com> References: <201301290638.08057.michaelkintzios@gmail.com> Organization: Internet Solutions X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.14; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 51e18c7c-686e-4fd6-b740-12e9112a8984 X-Archives-Hash: 1ef100ee2c3084b2c9d560ed10af9c3d On Tue, 29 Jan 2013 06:37:47 +0000 Mick wrote: > Hi All, > > I got this message when net-mail/mailbase-1.1 was emerged: > > * Messages for package net-mail/mailbase-1.1: > > * Your //var/spool/mail/ directory permissions differ from > * those which mailbase wants to set it to (03775). > * If you did not change them on purpose, consider running: > * > * chown root:mail //var/spool/mail/ > * chmod 03775 //var/spool/mail/ > > > Running this chmod changed access rights from: > > drwxrwxr-x 2 root mail 4096 Jan 28 19:57 mail > > to a sticky-fied: > > drwxrwsr-t 2 root mail 4096 Jan 28 19:57 mail > > > Any idea why are the sticky bits for group and others required? sticky for group so that all sub-dirs and files in them are owned by the mail group. Without it, they would be owned by the user running "mailx" and the mail system can no longer manager them. sticky for others is so that you can't delete my mail but you can still create your own mail spool files. Identical logic to /tmp (assuming that you are in the mail group) -- Alan McKinnon alan.mckinnon@gmail.com