delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/22/12:01:31

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
MIME-Version: 1.0
Subject: RE: Cannot write files if they are hidden
Date: Fri, 22 Jul 2005 11:01:15 -0500
Message-ID: <297343D29C14AA4D822142893ABEAEF35B34DA@srv1163ex1.flightsafety.com>
From: "Thrall, Bryan" <bryan DOT thrall AT flightsafety DOT com>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j6MG1T9q008963

Dave Korn wrote:
> ----Original Message----
>> From: Thrall, Bryan
>> Sent: 22 July 2005 16:26
> 
>> Is there any reason why a file should *not* be written to if it has
>> the Hidden attribute?
> 
>   Because it's hidden.  HTH!
> 
> 
>     cheers,
>       DaveK
> --
> Can't think of a witty .sigline today....

Ah, but then Cygwin shouldn't find it to read in the first place, right?
I can "cat hiddenfile," "cp hiddenfile otherfile," and view hidden files
in vi and xemacs to my heart's content -- just not write them.

I'm not super familiar with Windows-style attributes, so does the formal
definition of Hidden include "can't modify"? These days, it would seem
to have more of the expected "show me/hide me" semantics (at least in
XP), which is why I was surprised I couldn't modify Hidden files.

-- 
Bryan Thrall
FlightSafety International
Bryan DOT Thrall AT flightsafety DOT com

--
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