<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Color ls output and permission denied</title>
	<atom:link href="http://www.lifeaftercoffee.com/2007/11/15/color-ls-output-and-permission-denied/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lifeaftercoffee.com/2007/11/15/color-ls-output-and-permission-denied/</link>
	<description>because I don't believe in life before coffee...</description>
	<lastBuildDate>Wed, 23 Nov 2011 03:01:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: NotMike</title>
		<link>http://www.lifeaftercoffee.com/2007/11/15/color-ls-output-and-permission-denied/comment-page-1/#comment-374951</link>
		<dc:creator>NotMike</dc:creator>
		<pubDate>Fri, 14 Aug 2009 12:56:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.lifeaftercoffee.com/2007/11/15/color-ls-output-and-permission-denied/#comment-374951</guid>
		<description>Sorry to comment on such an old article, but I was looking for information on color in ls and stumbled across it.

Regardless, this is patently untrue.  How can you compare using ls with and without the -d (print directory entries) switch?

In brief:

[root@bacon test]# ls -la
total 24
drw-------  2 notmike notmike 4096 2009-08-14 08:49 .
drwx--x--x 66 notmike notmike 4096 2009-08-14 08:47 ..
-rw-r--r--  1 root    root       0 2009-08-14 08:49 temp1
-rw-r--r--  1 root    root       0 2009-08-14 08:49 temp2

[notmike@bacon ~]$ ls --color=none test
temp1  temp2
[notmike@bacon ~]$ ls -l --color=none test
ls: cannot access test/temp2: Permission denied
ls: cannot access test/temp1: Permission denied
total 0
-????????? ? ? ? ?                ? temp1
-????????? ? ? ? ?                ? temp2
[notmike@bacon ~]$ ls -ld --color=none test
drw------- 2 notmike notmike 4096 2009-08-14 08:49 test
[notmike@bacon ~]$ ls --color=tty test
ls: cannot access test/temp2: Permission denied
ls: cannot access test/temp1: Permission denied
temp1  temp2
[notmike@bacon ~]$ ls -l --color=tty test
ls: cannot access test/temp2: Permission denied
ls: cannot access test/temp1: Permission denied
total 0
-????????? ? ? ? ?                ? temp1
-????????? ? ? ? ?                ? temp2
[notmike@bacon ~]$ ls -ld --color=tty test
drw------- 2 notmike notmike 4096 2009-08-14 08:49 test

Take note: Works as advertised.</description>
		<content:encoded><![CDATA[<p>Sorry to comment on such an old article, but I was looking for information on color in ls and stumbled across it.</p>
<p>Regardless, this is patently untrue.  How can you compare using ls with and without the -d (print directory entries) switch?</p>
<p>In brief:</p>
<p>[root@bacon test]# ls -la<br />
total 24<br />
drw&#8212;&#8212;-  2 notmike notmike 4096 2009-08-14 08:49 .<br />
drwx&#8211;x&#8211;x 66 notmike notmike 4096 2009-08-14 08:47 ..<br />
-rw-r&#8211;r&#8211;  1 root    root       0 2009-08-14 08:49 temp1<br />
-rw-r&#8211;r&#8211;  1 root    root       0 2009-08-14 08:49 temp2</p>
<p>[notmike@bacon ~]$ ls &#8211;color=none test<br />
temp1  temp2<br />
[notmike@bacon ~]$ ls -l &#8211;color=none test<br />
ls: cannot access test/temp2: Permission denied<br />
ls: cannot access test/temp1: Permission denied<br />
total 0<br />
-????????? ? ? ? ?                ? temp1<br />
-????????? ? ? ? ?                ? temp2<br />
[notmike@bacon ~]$ ls -ld &#8211;color=none test<br />
drw&#8212;&#8212;- 2 notmike notmike 4096 2009-08-14 08:49 test<br />
[notmike@bacon ~]$ ls &#8211;color=tty test<br />
ls: cannot access test/temp2: Permission denied<br />
ls: cannot access test/temp1: Permission denied<br />
temp1  temp2<br />
[notmike@bacon ~]$ ls -l &#8211;color=tty test<br />
ls: cannot access test/temp2: Permission denied<br />
ls: cannot access test/temp1: Permission denied<br />
total 0<br />
-????????? ? ? ? ?                ? temp1<br />
-????????? ? ? ? ?                ? temp2<br />
[notmike@bacon ~]$ ls -ld &#8211;color=tty test<br />
drw&#8212;&#8212;- 2 notmike notmike 4096 2009-08-14 08:49 test</p>
<p>Take note: Works as advertised.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Emmons</title>
		<link>http://www.lifeaftercoffee.com/2007/11/15/color-ls-output-and-permission-denied/comment-page-1/#comment-336978</link>
		<dc:creator>Jon Emmons</dc:creator>
		<pubDate>Thu, 29 Nov 2007 01:51:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.lifeaftercoffee.com/2007/11/15/color-ls-output-and-permission-denied/#comment-336978</guid>
		<description>Erich,

Thanks for pointing that out!  I&#039;m not sure why (and don&#039;t have the time to figure it out right now) but WordPress interpreted my double-dash as a single-dash.  The temporary fix was to add two more dashes and it displays sort-of right.

I would consider the -F option redundant to the color output, but actually prefer it if you&#039;re looking for an indication of the file types.

Thanks for the comment.</description>
		<content:encoded><![CDATA[<p>Erich,</p>
<p>Thanks for pointing that out!  I&#8217;m not sure why (and don&#8217;t have the time to figure it out right now) but WordPress interpreted my double-dash as a single-dash.  The temporary fix was to add two more dashes and it displays sort-of right.</p>
<p>I would consider the -F option redundant to the color output, but actually prefer it if you&#8217;re looking for an indication of the file types.</p>
<p>Thanks for the comment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erich</title>
		<link>http://www.lifeaftercoffee.com/2007/11/15/color-ls-output-and-permission-denied/comment-page-1/#comment-333104</link>
		<dc:creator>Erich</dc:creator>
		<pubDate>Thu, 22 Nov 2007 06:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.lifeaftercoffee.com/2007/11/15/color-ls-output-and-permission-denied/#comment-333104</guid>
		<description>I don&#039;t think the follwoing you wrote works:
&lt;code&gt;ls –color=tty ls_test/&lt;/code&gt;
I believe the correct construct is:
ls -–color=tty ls_test/
Furthermore, if you wanted to make an alias I&#039;d suggest the following:
ls=&#039;-hF-–color=tty&#039;</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think the follwoing you wrote works:<br />
<code>ls –color=tty ls_test/</code><br />
I believe the correct construct is:<br />
ls -–color=tty ls_test/<br />
Furthermore, if you wanted to make an alias I&#8217;d suggest the following:<br />
ls=&#8217;-hF-–color=tty&#8217;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

