how to deny delete

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Tue Apr 24 16:57:00 GMT 2012


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

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



More information about the Cygwin mailing list