how to deny delete

Corinna Vinschen
Tue Apr 24 17:02:00 GMT 2012

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.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list