| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Date: | Fri, 4 May 2001 15:16:11 +0200 |
| From: | Corinna Vinschen <cygwin AT cygwin DOT com> |
| To: | Cygwin Mailing List <Cygwin AT Sourceware DOT Cygnus DOT Com> |
| Subject: | Re: Cannot set time on read-only file (Win2k) |
| Message-ID: | <20010504151611.D24200@cygbert.vinschen.de> |
| Mail-Followup-To: | Corinna Vinschen <cygwin AT cygwin DOT com>, |
| Cygwin Mailing List <Cygwin AT Sourceware DOT Cygnus DOT Com> | |
| References: | <000b01c0d498$07378350$21c9ca95 AT mow DOT siemens DOT ru> |
| Mime-Version: | 1.0 |
| User-Agent: | Mutt/1.2.5i |
| In-Reply-To: | <000b01c0d498$07378350$21c9ca95@mow.siemens.ru>; from Andrej.Borsenkow@mow.siemens.ru on Fri, May 04, 2001 at 04:44:58PM +0400 |
On Fri, May 04, 2001 at 04:44:58PM +0400, Andrej Borsenkow wrote: > I noticed this problem when mirroring off Unix site - if file is read-only, > time cannot be set. This of course confuses mirror a bit (why I had to mirror > under Cygwin is another sad story :-) > > mw1g017 AT MW1G17C% ll ld-linux.so.2 > -r-xr-xr-x 1 mw1g017 ITS 87036 Apr 18 10:19 ld-linux.so.2* > mw1g017 AT MW1G17C% touch ld-linux.so.2 > touch: ld-linux.so.2: Permission denied > mw1g017 AT MW1G17C% chmod u+w ld-linux.so.2 > mw1g017 AT MW1G17C% touch ld-linux.so.2 > > This is somewhat unexpected and does not correspond to Unix. Is it possible to > change it or is it Windows restriction? It's a Windows restriction. Setting the file time requires opening the file for writing. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |