From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 13 16:02:03 2012 Received: (at submit) by debbugs.gnu.org; 13 Aug 2012 20:02:03 +0000 Received: from localhost ([127.0.0.1]:54144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T10pu-0006WE-OA for submit@debbugs.gnu.org; Mon, 13 Aug 2012 16:02:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33298) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T10e1-0006En-VG for submit@debbugs.gnu.org; Mon, 13 Aug 2012 15:49:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T10Vh-0001uF-8p for submit@debbugs.gnu.org; Mon, 13 Aug 2012 15:41:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:57882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T10Vh-0001uB-5a for submit@debbugs.gnu.org; Mon, 13 Aug 2012 15:41:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T10Vf-0002sr-Vq for bug-coreutils@gnu.org; Mon, 13 Aug 2012 15:41:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T10Ve-0001u0-No for bug-coreutils@gnu.org; Mon, 13 Aug 2012 15:41:07 -0400 Received: from mga14.intel.com ([143.182.124.37]:25310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T10Ve-0001tr-H1 for bug-coreutils@gnu.org; Mon, 13 Aug 2012 15:41:06 -0400 Received: from azsmga002.ch.intel.com ([10.2.17.35]) by azsmga102.ch.intel.com with ESMTP; 13 Aug 2012 12:40:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.77,761,1336374000"; d="scan'208,217";a="133791832" Received: from fmsmsx104.amr.corp.intel.com ([10.19.9.35]) by AZSMGA002.ch.intel.com with ESMTP; 13 Aug 2012 12:39:38 -0700 Received: from FMSMSX110.amr.corp.intel.com ([169.254.12.253]) by FMSMSX104.amr.corp.intel.com ([169.254.4.154]) with mapi id 14.01.0355.002; Mon, 13 Aug 2012 12:39:38 -0700 From: "Overdorf, Sam" To: "bug-coreutils@gnu.org" Subject: Can you fix this bug? Thread-Topic: Can you fix this bug? Thread-Index: Ac15i1+cUW20yReIQWSQXEzux+/S9Q== Date: Mon, 13 Aug 2012 19:39:37 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.200.106] Content-Type: multipart/alternative; boundary="_000_E5CC9D87705BE34880A1CA24CF96F33E48FDE29Dfmsmsx110amrcor_" MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 13 Aug 2012 16:02:01 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) --_000_E5CC9D87705BE34880A1CA24CF96F33E48FDE29Dfmsmsx110amrcor_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable When I run the command "ls -L file-name" I expect it to show me the name of= the file the link is pointing at. I currently just returns the link name. This seems to have been broken for a while. ls (coreutils) 5.2.1 Written by Richard Stallman and David MacKenzie. Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I use RedHat 5.x RedHat 6.x. Thanks, Sam Overdorf Intel Unix/LADV --_000_E5CC9D87705BE34880A1CA24CF96F33E48FDE29Dfmsmsx110amrcor_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

When I run the command “ls –L file-name&= #8221; I expect it to show me the name of the file the link is pointing at.=

I currently just returns the link name.

 

This seems to have been broken for a while.

 

ls (coreutils) 5.2.1

Written by Richard Stallman and David MacKenzie.

 

Copyright (C) 2004 Free Software Foundation, Inc.

This is free software; see the source for copying co= nditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FO= R A PARTICULAR PURPOSE.

 

 

I use RedHat 5.x RedHat 6.x.

 

Thanks,

Sam Overdorf

Intel Unix/LADV

 

--_000_E5CC9D87705BE34880A1CA24CF96F33E48FDE29Dfmsmsx110amrcor_-- From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 13 16:19:51 2012 Received: (at control) by debbugs.gnu.org; 13 Aug 2012 20:19:51 +0000 Received: from localhost ([127.0.0.1]:54187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T1179-0006vU-Ge for submit@debbugs.gnu.org; Mon, 13 Aug 2012 16:19:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49227) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T1175-0006vG-Uh; Mon, 13 Aug 2012 16:19:50 -0400 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 q7DKBCol009930 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 13 Aug 2012 16:11:13 -0400 Received: from [10.3.113.122] (ovpn-113-122.phx2.redhat.com [10.3.113.122]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q7DKBCG3025279; Mon, 13 Aug 2012 16:11:12 -0400 Message-ID: <50295F5F.4010704@redhat.com> Date: Mon, 13 Aug 2012 14:11:11 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: "Overdorf, Sam" Subject: Re: bug#12194: Can you fix this bug? References: In-Reply-To: X-Enigmail-Version: 1.4.3 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig10F60EC4444C7F0C2DF32784" X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control Cc: 12194-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig10F60EC4444C7F0C2DF32784 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable retitle 12194 ls -L question tag 12194 notabug thanks On 08/13/2012 01:39 PM, Overdorf, Sam wrote: > When I run the command "ls -L file-name" I expect it to show me the nam= e of the file the link is pointing at. > I currently just returns the link name. Thanks for the report. However, this behavior is required by POSIX: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ls.html -L Evaluate the file information and file type for all symbolic links (whether named on the command line or encountered in a file hierarchy) to be those of the file referenced by the link, and not the link itself; however, ls shall write the name of the link itself and not the file referenced by the link. When -L is used with -l, write the contents of symbolic links in the long format (see the STDOUT section). >=20 > This seems to have been broken for a while. No, it's not broken. >=20 > ls (coreutils) 5.2.1 That's old. The latest version is 8.18. While this particular issue is not a bug, there have been other bugs fixed in ls in the meantime, so you might want to consider upgrading. I'm closing this bug, although you are still free to add further comments= =2E --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig10F60EC4444C7F0C2DF32784 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJQKV9gAAoJEKeha0olJ0NqAT0H/3XE0W09K+gvf6v2J3bqL6gR sqrm0Xmih5k0wylT4p8D1AlW/bZkW9hRslTxTPJDRGNhFwKRWIXDCFSPh8XEOoSE 7a5S9TAZ5CxlVM7FdNT0hIap9IQLEze1LrcBa5KSfvzdOSgV5wg2zzWi9HHwGcQ3 JkNdHUM8p8AuMzzzdk3G0Yooq2Q/DZtvqkkOA12yqj5mHmEaV4dflOik4O1Wb1p/ HGTUpix3xg6TQCg0iT9Goa48vxOd0NiUsZYcdFqLSlU7LNfNp2O6mEkez5hyZrE5 3LS98iFoLKp+6+Rs2yosQfB630H+HYgmFOGYOxH4WZRzLjnHRAKQ9ShwxiWNxxw= =WAKW -----END PGP SIGNATURE----- --------------enig10F60EC4444C7F0C2DF32784-- From unknown Fri Sep 05 11:01:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 11 Sep 2012 11:24:05 +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