| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=1.0 required=5.0 tests=AWL,BAYES_00,BOTNET |
| X-Spam-Check-By: | sourceware.org |
| Date: | Wed, 31 Dec 2008 17:17:12 -0800 |
| From: | David Rothenberger <daveroth AT acm DOT org> |
| Subject: | Re: [BUG 1.7] Read-only files are not. |
| In-reply-to: | <20081231235814.GA23121@ednor.casa.cgf.cx> |
| To: | cygwin AT cygwin DOT com, cygwin AT cygwin DOT com |
| Message-id: | <495C1998.3010700@acm.org> |
| MIME-version: | 1.0 |
| References: | <495C00DF DOT 5020208 AT acm DOT org> <20081231235814 DOT GA23121 AT ednor DOT casa DOT cgf DOT cx> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.5.666 |
| X-IsSubscribed: | yes |
| Reply-To: | cygwin AT cygwin DOT com |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| 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 |
On 12/31/2008 3:58 PM, Christopher Faylor wrote:
> On Wed, Dec 31, 2008 at 03:31:43PM -0800, David Rothenberger wrote:
>> It seems that read-only files in Cygwin 1.7 are not truly
>> read-only. The sequence of steps below shows that "chmod 444 file1"
>> does not make the file read-only in Cygwin 1.7, while it does in
>> Cygwin 1.5. It may have something to do with the Read Only DOS
>> attribute. This is set by Cygwin 1.5 but not by Cygwin 1.7. If I
>> manually set it for Cygwin 1.7, the file does become read-only.
>>
>> (This issue was brought to my attention by a failing subversion test
>> after building for 1.7.)
>
> Hmm. I can duplicate this but this is all Corinna's code so it might
> take a while to track down.
>
> It's a pretty serious bug though. Would you be willing to see if this
> is a recent 1.7 problem by trying some older DLLs?
Apparently it is an old problem (if indeed it is a problem and not
intentional as Eric suggests). The 2008-08-01 does not have the
"problem" while 2008-08-17 does. 08-01 sets the read-only DOS attribute
while 08-17 does not.
--
David Rothenberger ---- daveroth AT acm DOT org
"Jesus saves...but Gretzky gets the rebound!"
-- Daniel Hinojosa (hinojosa AT hp-sdd)
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |