From owner-freebsd-questions Fri Jun 28 13:32:06 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA27615 for questions-outgoing; Fri, 28 Jun 1996 13:32:06 -0700 (PDT) Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA27525 for ; Fri, 28 Jun 1996 13:31:35 -0700 (PDT) Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net id ab24731; 28 Jun 96 19:56 GMT Received: from jraynard.demon.co.uk ([158.152.42.77]) by relay-3.mail.demon.net id aa26190; 28 Jun 96 18:14 +0100 Received: (from fqueries@localhost) by jraynard.demon.co.uk (8.6.12/8.6.12) id BAA09748; Fri, 28 Jun 1996 01:15:22 GMT Date: Fri, 28 Jun 1996 01:15:22 GMT Message-Id: <199606280115.BAA09748@jraynard.demon.co.uk> From: James Raynard To: bill@twwells.com CC: freebsd-questions@freebsd.org In-reply-to: <4qur3j$qr0@twwells.com> (bill@twwells.com) Subject: Re: a talkd/write improvement I made Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk [Rationale for improvement, with which I can identify 8-)] > : How about *not* allowing the write if .talkrc exists but is > : unreadable? That way, I can make my .talkrc readable by a group that > : represents, for example, people working on the same project, and use > : it to filter them more selectively, while shutting everyone else out. > > That doesn't resolve the problem. The usual problem is people > protecting their home directories. Then, I can't tell if they > have a .talkrc. Actually, you can if you check errno (if it doesn't exist, you get ENOENT, if it exists but you don't have permission, you get EACCESS). > Also, your suggestion isn't going to do much for talkd.... Not sure I follow you. Since talkd runs as root, it will be able to read the file whatever the permissions on the path components are, won't it? -- James Raynard, Edinburgh, Scotland james@jraynard.demon.co.uk