X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.5 required=5.0	tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FORGED_YAHOO_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <33732027.post@talk.nabble.com>
Date: Mon, 23 Apr 2012 02:23:53 -0700 (PDT)
From: pen <pen_1232000@yahoo.com>
To: cygwin@cygwin.com
Subject: how to deny delete
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


I've noticed that on windows 7, even if we protect a folder by selecting
"delete - Deny" in permissions, cygwin doesn't care and it allows to
continue with rm. I think this is not good. I can think of other ways like
creating a lock file in my scripts but that wont be a clean way. Isn't there
any way that i can set some level of protection in NTFS without too much of
fuss. I need to write to files and folder underneath but only want to deny
delete permission on that top folder.

regards
-- 
View this message in context: http://old.nabble.com/how-to-deny-delete-tp33732027p33732027.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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

