X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.8 required=5.0	tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-id: <4F9EB0B1.5080505@cygwin.com>
Date: Mon, 30 Apr 2012 11:33:05 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: how to deny delete
References: <33732027.post@talk.nabble.com> <20120423115210.GC7097@calimero.vinschen.de> <33738191.post@talk.nabble.com> <4F96DB60.4000207@cygwin.com> <20120424170154.GS25385@calimero.vinschen.de> <4F96E27D.2040609@cygwin.com> <33760823.post@talk.nabble.com>
In-reply-to: <33760823.post@talk.nabble.com>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit
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

On 4/27/2012 8:05 PM, pen wrote:
>
> How about locking the vnode or inode of directory? i did not any such
> reference but i believe it must be doable.

You're thinking too much like Linux/UNIX.  There is no vnode/inode in
Windows.

What you're trying to control is considered a feature and the prescribed
solution is to use an unprivileged user or to use 'cygdrop'.  You may find
a suitable alternative for your case with some experimentation too but I
think it's pretty clear at this point that there is no ready-made solution
that meets the criteria that you've stipulated.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

