From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15756 invoked from network); 17 Aug 2005 10:20:25 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 Aug 2005 10:20:25 -0000 Received: (qmail 39882 invoked from network); 17 Aug 2005 10:20:18 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Aug 2005 10:20:18 -0000 Received: (qmail 2630 invoked by alias); 17 Aug 2005 10:20:10 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9328 Received: (qmail 2621 invoked from network); 17 Aug 2005 10:20:09 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 17 Aug 2005 10:20:09 -0000 Received: (qmail 38788 invoked from network); 17 Aug 2005 10:20:09 -0000 Received: from cluster-e.mailcontrol.com (HELO rly08e.srv.mailcontrol.com) (217.79.216.190) by a.mx.sunsite.dk with SMTP; 17 Aug 2005 10:20:03 -0000 Received: from iris.logica.co.uk (iris.logica.co.uk [158.234.9.163]) by rly08e.srv.mailcontrol.com (MailControl) with ESMTP id j7HAJvra013936 for ; Wed, 17 Aug 2005 11:19:58 +0100 Received: from trentino.logica.co.uk ([158.234.142.59]) by iris.logica.co.uk (8.12.3/8.12.3/Debian -4) with ESMTP id j7HAJvTp020601 for ; Wed, 17 Aug 2005 11:19:57 +0100 Received: from trentino.groupinfra.com (localhost [127.0.0.1]) by trentino.logica.co.uk (Postfix) with ESMTP id 017B580425 for ; Wed, 17 Aug 2005 12:19:56 +0200 (CEST) In-reply-to: <2005-08-17T12-04-01@devnull.michael-prokop.at> From: Oliver Kiddle References: <2005-08-15T13-09-25@devnull.michael-prokop.at> <20050815145854.GB46146@dan.emsphone.com> <2005-08-17T12-04-01@devnull.michael-prokop.at> To: Zsh Users Subject: Re: setopt noclobber in /proc-filesystem Date: Wed, 17 Aug 2005 12:19:56 +0200 Message-ID: <22797.1124273996@trentino.groupinfra.com> X-Scanned-By: MailControl A-05-01-05 (www.mailcontrol.com) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 Michael Prokop wrote: > > *I* do know that I can use sysctl and 'echo >|...' but other users > do *not*. Therefore I need a solution where something like > echo 3 > /proc/acpi/sleep > works out-of-the-box. The only way to do that would be to modify the C code to check the filesystem type of the file being written to. Alternatively, you might want to rethink why you want to impose the noclobber option on your users. You may like the option but many people, including myself, find it to be a nuisance. Oliver This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.