From unknown Mon Sep 08 22:57:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#15819 <15819@debbugs.gnu.org> To: bug#15819 <15819@debbugs.gnu.org> Subject: Status: colorls.csh errors out if "noclobber" is set (coreutils 8.21.11, Fedora19) Reply-To: bug#15819 <15819@debbugs.gnu.org> Date: Tue, 09 Sep 2025 05:57:46 +0000 retitle 15819 colorls.csh errors out if "noclobber" is set (coreutils 8.21.= 11, Fedora19) reassign 15819 coreutils submitter 15819 "Ty! Boyack" severity 15819 normal tag 15819 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 06 02:21:34 2013 Received: (at submit) by debbugs.gnu.org; 6 Nov 2013 07:21:34 +0000 Received: from localhost ([127.0.0.1]:36585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VdxQj-0004Bd-Je for submit@debbugs.gnu.org; Wed, 06 Nov 2013 02:21:34 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42842) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vdx6b-0003gQ-Tz for submit@debbugs.gnu.org; Wed, 06 Nov 2013 02:00:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vdx6N-0005Dq-8Q for submit@debbugs.gnu.org; Wed, 06 Nov 2013 02:00:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vdx6N-0005Dl-5i for submit@debbugs.gnu.org; Wed, 06 Nov 2013 02:00:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vdx6F-0003CX-RZ for bug-coreutils@gnu.org; Wed, 06 Nov 2013 02:00:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vdx68-0005CR-Fj for bug-coreutils@gnu.org; Wed, 06 Nov 2013 02:00:23 -0500 Received: from mochila.cnr.colostate.edu ([129.82.112.50]:45229 helo=nrel.colostate.edu) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vdx68-0005CK-8q for bug-coreutils@gnu.org; Wed, 06 Nov 2013 02:00:16 -0500 Received: from dagobah.djtyl.com (djtyl.com [63.228.90.80]) (authenticated bits=0) by nrel.colostate.edu (8.14.3/8.14.3) with ESMTP id rA670Ci5005471 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 6 Nov 2013 00:00:13 -0700 Message-ID: <5279E8FC.30204@colostate.edu> Date: Wed, 06 Nov 2013 00:00:12 -0700 From: "Ty! Boyack" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10 MIME-Version: 1.0 To: bug-coreutils@gnu.org Subject: colorls.csh errors out if "noclobber" is set (coreutils 8.21.11, Fedora19) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 06 Nov 2013 02:21:31 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Behavior: The setup script /etc/profile.d/colorls.csh works fine in a stock F19 installation, but if a local admin adds a default shell setting of "noclobber" in a profile setting that runs before this script (as we do) then the script will error out with an error of: /tmp/.colorlsXXX: File exists. Cause: The script creates that temporary file with mktemp, but on the first write it uses only a single redirect (>), which fails when noclobber is set. Since the file is already created, I think we can safely use an append redirect (>>) in all cases where that file is written to, which works regardless of the state of the noclobber settting. Patch: 35c35 < if ( "$INCLUDE" != '' ) cat "$INCLUDE" > $TMP --- > if ( "$INCLUDE" != '' ) cat "$INCLUDE" >> $TMP Disclaimer: I know this is not against the latest source, but I did not see anything in the bug lists regarding this. My apologies if this has already been looked at and fixed or dismissed. Cheers to all, -Ty! From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 06 08:09:24 2013 Received: (at 15819-done) by debbugs.gnu.org; 6 Nov 2013 13:09:24 +0000 Received: from localhost ([127.0.0.1]:36862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve2rM-0005gS-6O for submit@debbugs.gnu.org; Wed, 06 Nov 2013 08:09:24 -0500 Received: from moutng.kundenserver.de ([212.227.17.9]:64677) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve2rK-0005gF-P8 for 15819-done@debbugs.gnu.org; Wed, 06 Nov 2013 08:09:23 -0500 Received: from oxbsltgw15.schlund.de (oxbsltgw15.schlund.de [172.19.249.32]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MSY0i-1VEmCL2xpk-00S8MI; Wed, 06 Nov 2013 14:09:13 +0100 Date: Wed, 6 Nov 2013 14:09:13 +0100 (CET) From: Bernhard Voelker To: 15819-done@debbugs.gnu.org, Ty! Boyack , Ondrej Vasik Message-ID: <1622796036.81165.1383743353613.open-xchange@email.1und1.de> In-Reply-To: <5279E8FC.30204@colostate.edu> References: <5279E8FC.30204@colostate.edu> Subject: Re: bug#15819: colorls.csh errors out if "noclobber" is set (coreutils 8.21.11, Fedora19) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.2.2-Rev26 X-Provags-ID: V02:K0:/WYI2Pixd3gR3MH9wvWzI/Fo8ZTHYFYB4kMFmXiG84v 5peBiJyraiZMOJ/1hzBiDeqIm+2YnPU1sWlhpbgZJ8Us11oy4x yudoKeoAEJhYRiZmPjSL02L9cp9HmR0g6WHQ9ODP4Mmrnuay+U Nc1obw/qNTPzyiPKKecNJBQa41GYNtDN43asAg5XTPct9DeOZb 6Ctb6RZvbYCOe8x8sQqdQlbi/jnzT43kE5C/hqTnX4JDR8rwoV U1GKUPcHXN6aLrUubzw+JSWm3EzHxVxzLEM2o/G2iC9hRpWjfi F6YcMluvqFvBQAVQkdZ3SrU0nrTwWgivBiXsHf6TyZkX1vZCHL QBMWYITMmS2RBf2q607CqK3nacLcYqwC6ejAQsXc/UTVjdKAtv UGRY7QIggXC8643+T4L7UohxlQ84alSXZg= X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 15819-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Bernhard Voelker List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) tag 15819 notabug thanks [added Ondrej] > On November 6, 2013 at 8:00 AM Ty! Boyack wrote= : > Behavior: > > The setup script /etc/profile.d/colorls.csh works fine in a stock F19 > installation, but if a local admin adds a default shell setting of > "noclobber" in a profile setting that runs before this script (as we do) > then the script will error out with an error of: > > /tmp/.colorlsXXX: File exists. > > Cause: > > The script creates that temporary file with mktemp, but on the first > write it uses only a single redirect (>), which fails when noclobber is s= et. > > Since the file is already created, I think we can safely use an append > redirect (>>) in all cases where that file is written to, which works > regardless of the state of the noclobber settting. > > Patch: > > 35c35 > < if ( "$INCLUDE" !=3D '' ) cat "$INCLUDE" > $TMP > --- > > if ( "$INCLUDE" !=3D '' ) cat "$INCLUDE" >> $TMP The file 'colorls.csh' is not part of the upstream project but rather an Fedora extension.=C2=A0 I'm therefore marking this bug as 'done'. It seems this particular issue has been fixed for F20 only: http://pkgs.fedoraproject.org/cgit/coreutils.git/commit/?id=3Df0b6f85aff049= 6c51c8fcb58197a8a132949a4e5 @Ondrej: do you plan to merge this to F19? Have a nice day, Berny From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 06 08:22:25 2013 Received: (at 15819) by debbugs.gnu.org; 6 Nov 2013 13:22:26 +0000 Received: from localhost ([127.0.0.1]:36889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve33x-00062N-Ds for submit@debbugs.gnu.org; Wed, 06 Nov 2013 08:22:25 -0500 Received: from mail4.vodafone.ie ([213.233.128.170]:57320) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve33u-000626-Fs; Wed, 06 Nov 2013 08:22:23 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAAhCelJtTa1i/2dsb2JhbAANTQ6DMcAQgTmDGQEBAQQyAUYQCw0LCRYPCQMCAQIBRQYNAQcBAYgCCKskkzoEj1kHhDADnnCNDn8/gWgk Received: from unknown (HELO [192.168.1.79]) ([109.77.173.98]) by mail3.vodafone.ie with ESMTP; 06 Nov 2013 13:21:47 +0000 Message-ID: <527A426A.7090009@draigBrady.com> Date: Wed, 06 Nov 2013 13:21:46 +0000 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: "Ty! Boyack" Subject: Re: bug#15819: colorls.csh errors out if "noclobber" is set (coreutils 8.21.11, Fedora19) References: <5279E8FC.30204@colostate.edu> In-Reply-To: <5279E8FC.30204@colostate.edu> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 15819 Cc: 15819@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) tag 15819 notabug close 15819 stop On 11/06/2013 07:00 AM, Ty! Boyack wrote: > Behavior: > > The setup script /etc/profile.d/colorls.csh works fine in a stock F19 > installation, but if a local admin adds a default shell setting of > "noclobber" in a profile setting that runs before this script (as we do) > then the script will error out with an error of: > > /tmp/.colorlsXXX: File exists. > > Cause: > > The script creates that temporary file with mktemp, but on the first > write it uses only a single redirect (>), which fails when noclobber is set. > > Since the file is already created, I think we can safely use an append > redirect (>>) in all cases where that file is written to, which works > regardless of the state of the noclobber settting. > > Patch: > > 35c35 > < if ( "$INCLUDE" != '' ) cat "$INCLUDE" > $TMP > --- >> if ( "$INCLUDE" != '' ) cat "$INCLUDE" >> $TMP > > Disclaimer: > > I know this is not against the latest source, but I did not see anything > in the bug lists regarding this. My apologies if this has already been > looked at and fixed or dismissed. "Include" support was added to the _Fedora_ ls color config files recently, which broke things in various situations. Since this is not a upstream issue, I'm closing it here and opened: https://bugzilla.redhat.com/1027279 thanks, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 06 08:23:38 2013 Received: (at 15819) by debbugs.gnu.org; 6 Nov 2013 13:23:38 +0000 Received: from localhost ([127.0.0.1]:36897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve357-00064s-LL for submit@debbugs.gnu.org; Wed, 06 Nov 2013 08:23:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:15088) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve354-00064c-Ao for 15819@debbugs.gnu.org; Wed, 06 Nov 2013 08:23:35 -0500 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rA6DNWLs022077 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 6 Nov 2013 08:23:32 -0500 Received: from [10.34.4.187] (unused-4-187.brq.redhat.com [10.34.4.187]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id rA6DNVXD004470; Wed, 6 Nov 2013 08:23:31 -0500 Subject: Re: bug#15819: colorls.csh errors out if "noclobber" is set (coreutils 8.21.11, Fedora19) From: Ondrej Vasik To: Ty! Boyack In-Reply-To: <5279E8FC.30204@colostate.edu> References: <5279E8FC.30204@colostate.edu> Content-Type: text/plain; charset="UTF-8" Organization: Red Hat, Inc. Date: Wed, 06 Nov 2013 14:23:30 +0100 Message-ID: <1383744210.23709.2.camel@dhcp-24-196.brq.redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 15819 Cc: 15819@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: ovasik@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi -Ty!, colors.csh/sh scripts are Fedora specific. I'll make this redirect change in Fedora Rawhide. Thanks for report! Closing this upstream bug report. tags 15819 + notabug close 15819 Greetings, Ondrej On Wed, 2013-11-06 at 00:00 -0700, Ty! Boyack wrote: > Behavior: > > The setup script /etc/profile.d/colorls.csh works fine in a stock F19 > installation, but if a local admin adds a default shell setting of > "noclobber" in a profile setting that runs before this script (as we do) > then the script will error out with an error of: > > /tmp/.colorlsXXX: File exists. > > Cause: > > The script creates that temporary file with mktemp, but on the first > write it uses only a single redirect (>), which fails when noclobber is set. > > Since the file is already created, I think we can safely use an append > redirect (>>) in all cases where that file is written to, which works > regardless of the state of the noclobber settting. > > Patch: > > 35c35 > < if ( "$INCLUDE" != '' ) cat "$INCLUDE" > $TMP > --- > > if ( "$INCLUDE" != '' ) cat "$INCLUDE" >> $TMP > > Disclaimer: > > I know this is not against the latest source, but I did not see anything > in the bug lists regarding this. My apologies if this has already been > looked at and fixed or dismissed. > > Cheers to all, > > -Ty! > > > > From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 06 08:30:48 2013 Received: (at 15819-done) by debbugs.gnu.org; 6 Nov 2013 13:30:48 +0000 Received: from localhost ([127.0.0.1]:36902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve3C2-00072N-UH for submit@debbugs.gnu.org; Wed, 06 Nov 2013 08:30:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60626) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve3Bx-0006uO-CB for 15819-done@debbugs.gnu.org; Wed, 06 Nov 2013 08:30:42 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rA6DUVjE006513 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 6 Nov 2013 08:30:32 -0500 Received: from [10.34.4.187] (unused-4-187.brq.redhat.com [10.34.4.187]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id rA6DUTqg014297; Wed, 6 Nov 2013 08:30:30 -0500 Subject: Re: bug#15819: colorls.csh errors out if "noclobber" is set (coreutils 8.21.11, Fedora19) From: Ondrej Vasik To: Bernhard Voelker In-Reply-To: <1622796036.81165.1383743353613.open-xchange@email.1und1.de> References: <5279E8FC.30204@colostate.edu> <1622796036.81165.1383743353613.open-xchange@email.1und1.de> Content-Type: text/plain; charset="UTF-8" Organization: Red Hat, Inc. Date: Wed, 06 Nov 2013 14:30:29 +0100 Message-ID: <1383744629.23709.5.camel@dhcp-24-196.brq.redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 15819-done Cc: Ty! Boyack , 15819-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: ovasik@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On Wed, 2013-11-06 at 14:09 +0100, Bernhard Voelker wrote: > tag 15819 notabug > thanks > > [added Ondrej] > > > On November 6, 2013 at 8:00 AM Ty! Boyack wrote: > > Behavior: > > > > The setup script /etc/profile.d/colorls.csh works fine in a stock F19 > > installation, but if a local admin adds a default shell setting of > > "noclobber" in a profile setting that runs before this script (as we do) > > then the script will error out with an error of: > > > > /tmp/.colorlsXXX: File exists. > > > > Cause: > > > > The script creates that temporary file with mktemp, but on the first > > write it uses only a single redirect (>), which fails when noclobber is set. > > > > Since the file is already created, I think we can safely use an append > > redirect (>>) in all cases where that file is written to, which works > > regardless of the state of the noclobber settting. > > > > Patch: > > > > 35c35 > > < if ( "$INCLUDE" != '' ) cat "$INCLUDE" > $TMP > > --- > > > if ( "$INCLUDE" != '' ) cat "$INCLUDE" >> $TMP > > The file 'colorls.csh' is not part of the upstream project > but rather an Fedora extension. I'm therefore marking this bug > as 'done'. > > It seems this particular issue has been fixed for F20 only: > http://pkgs.fedoraproject.org/cgit/coreutils.git/commit/?id=f0b6f85aff0496c51c8fcb58197a8a132949a4e5 > > @Ondrej: do you plan to merge this to F19? It was fixed only partially, direct redirection in the part mentioned by Ty! still existed even in the rawhide trees. We don't do update for such minor issues in released Fedoras, but it will be included in next cumulative F19 coreutils update, where I usually merge all fixes from Fedora Rawhide from time to time. Greetings, Ondrej From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 06 12:46:35 2013 Received: (at 15819-done) by debbugs.gnu.org; 6 Nov 2013 17:46:35 +0000 Received: from localhost ([127.0.0.1]:37717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve7Ba-0005XX-FF for submit@debbugs.gnu.org; Wed, 06 Nov 2013 12:46:34 -0500 Received: from mochila.cnr.colostate.edu ([129.82.112.50]:42097 helo=nrel.colostate.edu) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve7BX-0005XF-Ai for 15819-done@debbugs.gnu.org; Wed, 06 Nov 2013 12:46:32 -0500 Received: from alba.nrel.colostate.edu (alba [129.82.104.126]) (authenticated bits=0) by nrel.colostate.edu (8.14.3/8.14.3) with ESMTP id rA6HkLvX018816 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 6 Nov 2013 10:46:21 -0700 Message-ID: <527A806D.4000603@colostate.edu> Date: Wed, 06 Nov 2013 10:46:21 -0700 From: "Ty! Boyack" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 MIME-Version: 1.0 To: ovasik@redhat.com Subject: Re: bug#15819: colorls.csh errors out if "noclobber" is set (coreutils 8.21.11, Fedora19) References: <5279E8FC.30204@colostate.edu> <1622796036.81165.1383743353613.open-xchange@email.1und1.de> <1383744629.23709.5.camel@dhcp-24-196.brq.redhat.com> In-Reply-To: <1383744629.23709.5.camel@dhcp-24-196.brq.redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 15819-done Cc: Bernhard Voelker , 15819-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Thanks everyone, sorry to have filed it in the wrong place initially. You all are an incredibly responsive group - and it's greatly appreciated! Cheers, -Ty! On 11/06/2013 06:30 AM, Ondrej Vasik wrote: > On Wed, 2013-11-06 at 14:09 +0100, Bernhard Voelker wrote: >> tag 15819 notabug >> thanks >> >> [added Ondrej] >> >>> On November 6, 2013 at 8:00 AM Ty! Boyack wrote: >>> Behavior: >>> >>> The setup script /etc/profile.d/colorls.csh works fine in a stock F19 >>> installation, but if a local admin adds a default shell setting of >>> "noclobber" in a profile setting that runs before this script (as we do) >>> then the script will error out with an error of: >>> >>> /tmp/.colorlsXXX: File exists. >>> >>> Cause: >>> >>> The script creates that temporary file with mktemp, but on the first >>> write it uses only a single redirect (>), which fails when noclobber is set. >>> >>> Since the file is already created, I think we can safely use an append >>> redirect (>>) in all cases where that file is written to, which works >>> regardless of the state of the noclobber settting. >>> >>> Patch: >>> >>> 35c35 >>> < if ( "$INCLUDE" != '' ) cat "$INCLUDE"> $TMP >>> --- >>>> if ( "$INCLUDE" != '' ) cat "$INCLUDE">> $TMP >> The file 'colorls.csh' is not part of the upstream project >> but rather an Fedora extension. I'm therefore marking this bug >> as 'done'. >> >> It seems this particular issue has been fixed for F20 only: >> http://pkgs.fedoraproject.org/cgit/coreutils.git/commit/?id=f0b6f85aff0496c51c8fcb58197a8a132949a4e5 >> >> @Ondrej: do you plan to merge this to F19? > It was fixed only partially, direct redirection in the part mentioned by > Ty! still existed even in the rawhide trees. > We don't do update for such minor issues in released Fedoras, but it > will be included in next cumulative F19 coreutils update, where I > usually merge all fixes from Fedora Rawhide from time to time. > > Greetings, > Ondrej > -- -===========================- Ty Boyack NREL Senior IT Engineer Ty.Boyack@colostate.edu (970) 491-1186 -===========================- From unknown Mon Sep 08 22:57:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 05 Dec 2013 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator