delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/28/06:34:10

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FORGED_YAHOO_RCVD,FREEMAIL_FROM,KHOP_THREADED,NML_ADSP_CUSTOM_MED,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <33763249.post@talk.nabble.com>
Date: Sat, 28 Apr 2012 03:33:27 -0700 (PDT)
From: pen <pen_1232000 AT yahoo DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: how to deny delete
In-Reply-To: <33760823.post@talk.nabble.com>
MIME-Version: 1.0
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> <20120424170154 DOT GS25385 AT calimero DOT vinschen DOT de> <4F96E27D DOT 2040609 AT cygwin DOT com> <33760823 DOT post AT talk DOT nabble DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

The problem i have is - no new user be created but i'm also administrator.
I want to restrict some folders from being moved(or even touched).
appreciate your hints help.

regards
pen


pen wrote:
> 
> How about locking the vnode or inode of directory? i did not find any such
> reference but i believe it must be doable.
> 
> 
> Larry Hall (Cygwin-X) wrote:
>> 
>> On 4/24/2012 1:01 PM, Corinna Vinschen wrote:
>>> 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<filename>  /deny<user or SID>:D
>>>
>>> Doesn't help in Cygwin if the user is admin.  Think SE_BACKUP_PRIVILEGE.
>> 
>> Ah yes.  And the OP said dropping this privilege for the user was a
>> non-starter for some reason.  OK, I'm out of ideas.
>> 
>> -- 
>> 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
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/how-to-deny-delete-tp33732027p33763249.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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019