This is the mail archive of the
cygwin
mailing list for the Cygwin project.
how to deny delete
- From: pen <pen_1232000 at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 23 Apr 2012 02:23:53 -0700 (PDT)
- Subject: how to deny delete
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 like
creating a lock file in my scripts but that wont be a clean way. Isn't there
any way that i can set some level of protection in NTFS without too much of
fuss. I need to write to files and folder underneath but only want to deny
delete permission on that top folder.
regards
--
View this message in context: http://old.nabble.com/how-to-deny-delete-tp33732027p33732027.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