Re: how to deny delete

2012-04-30 Thread Larry Hall (Cygwin)
On 4/27/2012 8:05 PM, pen wrote: How about locking the vnode or inode of directory? i did not any such reference but i believe it must be doable. You're thinking too much like Linux/UNIX. There is no vnode/inode in Windows. What you're trying to control is considered a feature and the prescr

Re: how to deny delete

2012-04-28 Thread pen
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 beli

Re: how to deny delete

2012-04-27 Thread pen
How about locking the vnode or inode of directory? i did not 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: unfortuna

Re: how to deny delete

2012-04-24 Thread Larry Hall (Cygwin)
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 impl

Re: how to deny delete

2012-04-24 Thread Corinna Vinschen
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. > > W

Re: how to deny delete

2012-04-24 Thread Larry Hall (Cygwin)
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.

Re: how to deny delete

2012-04-24 Thread pen
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. regards pen Corinna Vinschen-2 wrote: > > On Apr 23 02:23, pen wrote: >> >> I've noticed that

Re: how to deny delete

2012-04-23 Thread Corinna Vinschen
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 like > creating a lock file in my scripts but that

Re: how to deny delete

2012-04-23 Thread Andrey Repin
Greetings, pen! > 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. Stop working under administrative account, then. -- WBR, Andrey Repin (anrdae...@freemail.ru) 23.04.2012, <15:41>