From owner-freebsd-questions@FreeBSD.ORG Tue Mar 7 06:40:19 2006 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 BC31E16A420 for ; Tue, 7 Mar 2006 06:40:19 +0000 (GMT) (envelope-from pergesu@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52C4C43D45 for ; Tue, 7 Mar 2006 06:40:19 +0000 (GMT) (envelope-from pergesu@gmail.com) Received: by zproxy.gmail.com with SMTP id o1so1436621nzf for ; Mon, 06 Mar 2006 22:40:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=WM1lQa2KRa132bJJjNHA4ZoKlobO6W8r966JP7l1sRM4dF2EyGtPv3jKL6+8GTi3/zUw/lYb+lhX1O452MXT7/70sEOG7YZfi9OTAaS5bCjLzJdH3GZHlS1n+6xuDRPxTo71Gxu1DZNxwXPobJ3UhFtIPWFlwIiNXxttYm2AC4Y= Received: by 10.36.126.2 with SMTP id y2mr119875nzc; Mon, 06 Mar 2006 22:40:18 -0800 (PST) Received: by 10.36.47.18 with HTTP; Mon, 6 Mar 2006 22:40:18 -0800 (PST) Message-ID: <810a540e0603062240m5491666eva12060fb4eeea61f@mail.gmail.com> Date: Mon, 6 Mar 2006 23:40:18 -0700 From: "Pat Maddox" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: A question on permissions 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 Mar 2006 06:40:19 -0000 I want to make a directory writable by one user, and readable by another. It should be owned by the web server UID, and the group should be the gid of my normal login user. %ls -ld /home/pergesu/logs drwxr-x--- 6 www pergesu 512 Feb 23 13:05 /home/pergesu/logs However, the www user apparently can't read/write to that dir. I gave 'www' a real shell just to try it out: %sudo su www %ls -ld /home/pergesu/logs ls: /home/pergesu/logs: Permission denied I don't get why it's doing Permission denied there. www has r/w/x access to that dir. It doesn't, however, have read access to /home/pergesu, so that's my only guess. I don't want to make /home/pergesu readable by everyone though of course. Isn't that what permissions are all about? I'd appreciate any help. Pat