From owner-freebsd-questions@FreeBSD.ORG Wed Jun 29 18:15:57 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 390F116A41C for ; Wed, 29 Jun 2005 18:15:57 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21FFF43D1F for ; Wed, 29 Jun 2005 18:15:57 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin02-en2 [10.13.10.147]) by smtpout.mac.com (Xserve/8.12.11/smtpout16/MantshX 4.0) with ESMTP id j5TIFubJ017018; Wed, 29 Jun 2005 11:15:56 -0700 (PDT) Received: from [10.1.1.209] (nfw2.codefab.com [199.103.21.225] (may be forged)) (authenticated bits=0) by mac.com (Xserve/smtpin02/MantshX 4.0) with ESMTP id j5TIFs18018174; Wed, 29 Jun 2005 11:15:55 -0700 (PDT) In-Reply-To: <781e2bc0050629110029fb17ee@mail.gmail.com> References: <781e2bc0050629110029fb17ee@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Wed, 29 Jun 2005 14:15:50 -0400 To: motionsiren X-Mailer: Apple Mail (2.730) Cc: freebsd-questions@freebsd.org Subject: Re: directory permissions, sticky bits, chmod, etc. 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: Wed, 29 Jun 2005 18:15:57 -0000 On Jun 29, 2005, at 2:00 PM, motionsiren wrote: > Im embarassed to ask but the man's aren't making any sense to me. > > I have a group of users that are all in the same group. They like to > share a common directory but find that they're files are rwxr-xr-x. > I'd like to make sure that every file within that directory has > rwxrwxr-x permissions as they need to write to each others files. You can do a "chmod -R g+w PATH" to fix things for now. But for this to work as you like, the users need to set their umask to 002. You also want to make sure each userid has a default group which only they are members of, commonly done by setting up gid == uid. -- -Chuck