X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 24 Apr 2012 19:01:54 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: how to deny delete Message-ID: <20120424170154.GS25385@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <33732027 DOT post AT talk DOT nabble DOT com> <20120423115210 DOT GC7097 AT calimero DOT vinschen DOT de> <33738191 DOT post AT talk DOT nabble DOT com> <4F96DB60 DOT 4000207 AT cygwin DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4F96DB60.4000207@cygwin.com> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Apr 24 12:57, Larry Hall (Cygwin) wrote: > On 4/24/2012 4:24 AM, pen wrote: > > > >unfortunately, the options u pointed and what andrey pointed arent possible. > >In line with the locking file or directory any commands or API are > >available? Any tips on implementing it would be helpful. > > Windows will allow you to manage just the delete permission. If you need > that level of control, check out 'icacls'. Something like the following > may work for you: > > icacls /deny :D Doesn't help in Cygwin if the user is admin. Think SE_BACKUP_PRIVILEGE. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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