From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8414 invoked from network); 17 Aug 2005 20:18:34 -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 20:18:34 -0000 Received: (qmail 58263 invoked from network); 17 Aug 2005 20:18:27 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Aug 2005 20:18:27 -0000 Received: (qmail 25566 invoked by alias); 17 Aug 2005 20:18:20 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9329 Received: (qmail 25557 invoked from network); 17 Aug 2005 20:18:19 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 17 Aug 2005 20:18:19 -0000 Received: (qmail 57220 invoked from network); 17 Aug 2005 20:18:19 -0000 Received: from unknown (HELO vrs.michael-prokop.at) (81.223.126.153) by a.mx.sunsite.dk with SMTP; 17 Aug 2005 20:18:11 -0000 Received: from localhost (unknown [81.223.126.153]) by vrs.michael-prokop.at (Postfix) with ESMTP id 976701050B for ; Wed, 17 Aug 2005 22:18:11 +0200 (CEST) Date: Wed, 17 Aug 2005 22:18:10 +0200 From: Michael Prokop To: Zsh Users Subject: Re: setopt noclobber in /proc-filesystem Message-ID: <2005-08-17T22-11-24@devnull.michael-prokop.at> Reply-To: Michael Prokop Mail-Followup-To: Zsh Users References: <2005-08-15T13-09-25@devnull.michael-prokop.at> <20050815145854.GB46146@dan.emsphone.com> <2005-08-17T12-04-01@devnull.michael-prokop.at> <22797.1124273996@trentino.groupinfra.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6sj9mcRtP+pTWLOo" Content-Disposition: inline In-Reply-To: <22797.1124273996@trentino.groupinfra.com> X-URL: http://www.michael-prokop.at/ X-Operating-System: Debian GNU/Linux - 2.6.11-grml on a i686 X-Registered-Linux-User: 224337 X-Crypto: GnuPG/1.2.3 http://www.gnupg.org X-GPG-Key-ID: 0x37E272E8 X-GPG-Key: http://www.michael-prokop.at/gpg X-GPG-Fingerprint: 04AE E62C 9502 CD34 A7DA 857B D8DF 53FB 37E2 72E8 User-Agent: mutt-ng devel-r316 (Debian) 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=BAYES_00 autolearn=ham version=3.0.4 --6sj9mcRtP+pTWLOo Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Oliver Kiddle [20050817 12:42]: > 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. Ok, thanks for clarification! > 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. Yes, that's what I'll do. Thanks! regards, -mika- --=20 ,'"`. http://www.michael-prokop.at/ ( grml.org -=BB Linux for texttool-users and sysadmins `._,' http://www.grml.org/ --6sj9mcRtP+pTWLOo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDA5uC2N9T+zficugRAik4AJ95sT7gEEJLaZ3ifzWp4lC80VjlHgCeP+ch lOJsQKRWwLb5iNQf5JYrxTE= =jExk -----END PGP SIGNATURE----- --6sj9mcRtP+pTWLOo--