delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/18/13:45:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: ericblake AT comcast DOT net (Eric Blake)
To: Angelo Graziosi <Angelo DOT Graziosi AT roma1 DOT infn DOT it>, cygwin AT cygwin DOT com
Subject: Re: please test: coreutils-5.90-3
Date: Tue, 18 Oct 2005 17:45:01 +0000
Message-Id: <101820051745.17659.4355349C000BCB71000044FB22007614380A050E040D0C079D0A@comcast.net>

> 1)
> Using coreutils-5.90-3 I have observed  that the command 'cp -p' does not
> preserve the timestamp of a file:
> 
> $ ls -lrt
> -rw-r--r-- 1 Administrator Administrators    418 Aug  7 18:55 t.c
> 
> $ cp -p t.c t.cpp
> $ ls -lrt
> -rw-r--r-- 1 Administrator Administrators    418 Aug  7 18:55 t.c
> -rw-r--r-- 1 Administrator Administrators    418 Oct 18 19:05 t.cpp

I'll investigate.

> 
> 2) using ls --color (coreutils 5.90-3), the name of directories that have
> all permission (drwxrwxrwx) is displayed as blue on green background (see
> two examples, images.tar.gz; the images are well displayed with
> Start/Programs/Accessories/Imaging). 
> 
> Is this a correct behaviour?  

Yes.  Coreutils 5.91 was just released (although I haven't
packaged it yet), and it corrected an omission in the NEWS
for 5.90:

  dircolors now supports SETUID, SETGID, STICKY_OTHER_WRITABLE,
  OTHER_WRITABLE, and STICKY, with ls providing default colors for these
  categories if not specified by dircolors.

drwxrwxrws directories fall under the new OTHER_WRITABLE
category, and I bet your old /etc/.DIR_COLORS does not yet
give a color for this category, so it falls to ls's defaults, which
is green on blue.  If you want to restore old behavior, you
will have to use an edited .DIR_COLORS, and give
OTHER_WRITABLE the same string as DIR.

--
Eric Blake
volunteer cygwin coreutils maintainer



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019