From owner-freebsd-questions Thu May 10 6:17:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id A52AD37B424 for ; Thu, 10 May 2001 06:17:43 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 39347 invoked by uid 100); 10 May 2001 13:17:42 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15098.38134.872908.652900@guru.mired.org> Date: Thu, 10 May 2001 08:17:42 -0500 To: Chris Aitken Cc: questions@freebsd.org Subject: Re: Permissions Question In-Reply-To: <120283511@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chris Aitken types: > Just a quick question..... > > If I want to enable a user to have full file permission over another users > files & directories, what would I have to do ? Depends on how you want them to interact. If you don't care about the first user being able to edit things, just change the ownership from one to the other. If you want them both to be able to modify, delete, etc. files, you'll need to create a group for them, put them both in that group, then set the group ownership of the tree to that group (chgrp -R tree) and enable group permissions on it (chmod -R g=u tree). You'll also have to set things up so that the ftp server creates things with the group write bit set. How you do that will depend on your ftp server. Ideally, setting umask to 002 via login.conf will do the trick, but I haven't tried it. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message