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 To: cygwin AT cygwin DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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