From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 15:19:05 2008 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 535C51065692 for ; Tue, 7 Oct 2008 15:19:05 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id 094088FC22 for ; Tue, 7 Oct 2008 15:19:04 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 70673 invoked by uid 89); 7 Oct 2008 15:19:04 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 7 Oct 2008 15:19:04 -0000 Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: <20081007143053.GA51120@icarus.home.lan> References: <0C63914A-E3A3-4FC7-92AD-797F407A5FF7@identry.com> <20081007143053.GA51120@icarus.home.lan> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <8A0EE6C2-4862-482A-9EB5-4DE5E1A5F51A@identry.com> Content-Transfer-Encoding: 7bit From: John Almberg Date: Tue, 7 Oct 2008 11:19:02 -0400 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.753.1) Subject: Re: thorny (for me) permissions problem 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, 07 Oct 2008 15:19:05 -0000 >> Well, thanks to Valintin, I did figure out how to change the umask >> for >> pure-ftpd. So now uploaded files have the permissions I wanted, >> even if >> they are not needed. > > Be careful with what you've done. If you changed the umask on the > ftpd > as a whole, then suddenly unrelated users are going to find their > files > writeable by whatever group/GID they default to. > A good point. The default group for my users is their own group... i.e., user_a's default group is user_a, so that should not be a problem, but why give away more rights than necessary? So, I've put the pure-ftpd umask back to 137:077 (this inverted octal was a brain twister until I had my second cup of coffee :-), retested, and it all works the way I wanted it to. Three hours gone, but I guess I learned a few things, which I have documented in my Solutions Log. By the way, for any Mac users on the list, I highly recommend Yojimbo as a Solutions Log. Yojimbo is a program that's hard to explain, but incredibly useful. It is basically a place that you can throw all sorts of useful information, such as notes on how to solve things you've already figured out (I hate having to figure things out twice), PDFs, book marks, whole web pages (archived), emails (archived), passwords (encrypted)... any information that you want to be able to find easily in the future. You can 'tag' each bit of information with as many keywords as you want. Then, when you need to retrieve some vital bit of information, it has a search engine that lets you find it quickly. It sounds trivial, when you read it, but I don't know any other tool that lets you store so many types of documents in the same place, with such easy retrieval. Anyway, that's my tip of the day. Thanks to everyone for the help. Now I just need to catch up on the rest of the day's work! -- John