www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/29/18:48:22

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=BAYES_05,DKIM_ADSP_NXDOMAIN,KAM_ADVERT2,NO_DNS_FOR_FROM,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Subject: Ignored Permissions
From: "Matthew B. Smith" <melkor AT orangpalantir DOT org>
To: cygwin AT cygwin DOT com
In-Reply-To: <20100429075809.GS1845@calimero.vinschen.de>
References: <4BD8797E DOT 8020200 AT alumni DOT caltech DOT edu> <4BD889A0 DOT 3090902 AT bopp DOT net> <20100429075809 DOT GS1845 AT calimero DOT vinschen DOT de>
Date: Thu, 29 Apr 2010 18:47:52 -0400
Message-ID: <1272581272.1671.12.camel@erebor>
Mime-Version: 1.0
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

If I set the permissions of a file to be read only I can still delete
it, or modify it w/out warning.
eg.
touch test.txt
chmod 444 test.txt
echo "what" >> test.txt

In ubuntu I get an error, in cygwin it just modifies the file.  

This is an administrator acct if that affects the issue.  I am using 1.7

$ uname -srv
CYGWIN_NT-5.2-WOW64 1.7.3(0.225/5/3) 2010-04-03 11:26


thanks
mbs


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

- Raw text -


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