This is the mail archive of the
mailing list for the Cygwin project.
Re: how to deny delete
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.
Corinna Vinschen-2 wrote:
> On Apr 23 02:23, pen wrote:
>> I've noticed that on windows 7, even if we protect a folder by selecting
>> "delete - Deny" in permissions, cygwin doesn't care and it allows to
>> continue with rm. I think this is not good. I can think of other ways
>> creating a lock file in my scripts but that wont be a clean way. Isn't
>> any way that i can set some level of protection in NTFS without too much
>> fuss. I need to write to files and folder underneath but only want to
>> delete permission on that top folder.
> If the user is neither the owner of the dir, nor an admin, and if the
> permissions are set to 0700, the user won't be able to delete the
> 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
View this message in context: http://old.nabble.com/how-to-deny-delete-tp33732027p33738191.html
Sent from the Cygwin list mailing list archive at Nabble.com.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple