Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <42E11E4C.3090406@hones.org.uk> Date: Fri, 22 Jul 2005 17:26:52 +0100 From: Cliff Hones User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Cannot write files if they are hidden References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.1 (--) X-IsSubscribed: yes Dave Korn wrote: > ----Original Message---- > >>From: Thrall, Bryan >>Sent: 22 July 2005 17:01 > > >>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? > > > Nope. HTH! I'm not aware of what the intended behaviour in Cygwin is - but it seems the current behaviour is inconsistent and unexpected (at least by me). I would have expected the hidden attribute to either be ignored, or to result in behaviour similar to Unix/Posix "." files [ie not showing by default in directory listings, but access unaffected by the attribute.] It seems that at the moment a windows hidden file is listed by "ls", can be read and appended to, but cannot be replaced. -- Cliff -- 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/