From owner-freebsd-questions@FreeBSD.ORG Tue Sep 14 18:22:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42CF8106566C for ; Tue, 14 Sep 2010 18:22:55 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout023.mac.com (asmtpout023.mac.com [17.148.16.98]) by mx1.freebsd.org (Postfix) with ESMTP id 2631D8FC0A for ; Tue, 14 Sep 2010 18:22:54 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp023.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L8R00B3T1Q15G10@asmtp023.mac.com> for freebsd-questions@freebsd.org; Tue, 14 Sep 2010 11:22:49 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1009140086 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011,1.0.148,0.0.0000 definitions=2010-09-14_12:2010-09-14, 2010-09-13, 1970-01-01 signatures=0 From: Chuck Swiger In-reply-to: Date: Tue, 14 Sep 2010 11:22:49 -0700 Message-id: <270B9E77-D1B2-43AC-98EC-EEC9F8CE840A@mac.com> References: <20100914200116.23a34732.freebsd@edvax.de> To: doug@safeport.com X-Mailer: Apple Mail (2.1081) Cc: Polytropon , freebsd-questions@freebsd.org Subject: Re: unix permissions questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2010 18:22:55 -0000 On Sep 14, 2010, at 11:16 AM, doug@safeport.com wrote: >> A bit of experimentation suggests that "chmod 7500 .procmail" are the permissions involved, which are silly. No group permissions enabled means setgid is meaningless, and I don't see any value for using the sticky bit here, either. Try using 0500, 0700, or maybe 4500/4700 instead. > > thanks all - the context of this: the users involved do not know what the chmod command is much less its syntax and I did not do this. What I was going for was could this be a procmail bug or perhaps something more alarming (to me as a sysadmin). The permissions here are unexpected. procmail cares about clearing group and other permissions-- unless GROUP_PER_USER is set (cf http://partmaps.org/era/procmail/mini-faq.html#group-writable), which usually would be appropriate for FreeBSD since it encourages all userids to also have a corresponding groupid. Regards, -- -Chuck