delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT 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 AT yahoo DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | how to deny delete |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |