From owner-freebsd-questions Sat Dec 14 22:56:45 2002 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 98E3737B401 for ; Sat, 14 Dec 2002 22:56:43 -0800 (PST) Received: from smtp03.wlv.untd.com (smtp03.wlv.untd.com [209.247.163.66]) by mx1.FreeBSD.org (Postfix) with SMTP id E91C243EB2 for ; Sat, 14 Dec 2002 22:56:42 -0800 (PST) (envelope-from idiot1@netzero.net) Received: (qmail 29340 invoked from network); 15 Dec 2002 06:56:36 -0000 Received: from dialup-63.215.216.68.dial1.tampa1.level3.net (HELO netzero.net) (63.215.216.68) by smtp03.wlv.untd.com with SMTP; 15 Dec 2002 06:56:36 -0000 Message-ID: <3DFC2831.7060108@netzero.net> Date: Sun, 15 Dec 2002 01:58:57 -0500 From: Kirk Bailey Organization: Silas Dent Memorial Cabal of ERIS Esoteric and hot dog boiling society User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions , sendmail-questions Subject: permissions trouble Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ok, I have an alias in /etc/mail, called aliases.tinylist; this is able to be read by sendmail since I edited the sendmail.cf file, and it will compile it without error. the /mail dir is owned by root, and is chmod 755. the file aliases.tinylist is owned by nobody currently, although in certain tests it was owned by an unpriviliged user called grumpy, and it worked. I could issue a echo statement from the command prompt as grumpy, appending to the file, and it worked, regardless of what the current directory was. But when I tried to do it as grumpy running a SCRIPT (in python) it refused permission to write to the file. odd, grumpy could do it from the command prompt... This is some subtle permission thing, and it is escaping me. Anyone able to shed light? I am so close to concluding my project it is driving me bats. EVERYTHING ELSE WORKS... . -- end Respectfully, Kirk D Bailey +---------------------"Thou Art Free." -Eris-----------------------+ | http://www.howlermonkey.net mailto:highprimate@howlermonkey.net | | KILL spam dead! http://www.scambusters.org/stopspam/#Pledge | | http://www.tinylist.org +--------+ mailto:grumpy@tinylist.org | +------------------Thinking| NORMAL |Thinking----------------------+ +--------+ --------------------------------------------- Introducing NetZero Long Distance 1st month Free! Sign up today at: www.netzerolongdistance.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message