public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* rm fails on netware drive using win2k
@ 2004-07-28  8:10 Holger Schmidt
  2004-07-28 13:45 ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: Holger Schmidt @ 2004-07-28  8:10 UTC (permalink / raw)
  To: cygwin

Hello,

first of all, I read the FAQs and the mailinglist archives and searched the
web. The only thing I found was part of my problem, but no solution.

We got two machines (WinNT 4.0 and Win2K) which uses a specified directory
on a netware drive. On both machines runs the same cygwin (1.5.10-3).

I "touch" a file from the NT-machine to the netware-drive ("test1").
When I try to remove it with "rm" no problem appears.

Again I "touch" a file from the NT-machine to the netware-drive ("test2").
I tried to remove it with the 2k-machine and nothing appears. "rm" finish
correctly, but the file "test2" still exists and no error message is
displayed.
Then I tried to remove it with the NT-machine and the same problem as on the
2k-machine appears.

Even with a Windows application (equal if NT or 2k) the file "test2" can not
be erased (a message appears "used by another application").

After waiting a couple of minutes (don't know how long) the file can be
erased with "rm" from the NT-machine or with windows itself. But not from
the 2k-machine. (what kind of timer blocks the file ?)

If I "touch" the file from the 2k-machine, it also can not be erased with
"rm".

Can anybody help me, please?

Oh, I forgot: It's also not possible to overwrite the file. I made "strace"s
on both machines but found nothing of interest.

Bye
Holger


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: rm fails on netware drive using win2k
  2004-07-28  8:10 rm fails on netware drive using win2k Holger Schmidt
@ 2004-07-28 13:45 ` Corinna Vinschen
  2004-07-28 20:53   ` Andrew DeFaria
  0 siblings, 1 reply; 3+ messages in thread
From: Corinna Vinschen @ 2004-07-28 13:45 UTC (permalink / raw)
  To: cygwin

On Jul 28 09:15, Holger Schmidt wrote:
> We got two machines (WinNT 4.0 and Win2K) which uses a specified directory
> on a netware drive. On both machines runs the same cygwin (1.5.10-3).
> 
> I "touch" a file from the NT-machine to the netware-drive ("test1").
> When I try to remove it with "rm" no problem appears.
> 
> Again I "touch" a file from the NT-machine to the netware-drive ("test2").
> I tried to remove it with the 2k-machine and nothing appears. "rm" finish
> correctly, but the file "test2" still exists and no error message is
> displayed.
> Then I tried to remove it with the NT-machine and the same problem as on the
> 2k-machine appears.
> 
> Even with a Windows application (equal if NT or 2k) the file "test2" can not
> be erased (a message appears "used by another application").
> 
> After waiting a couple of minutes (don't know how long) the file can be
> erased with "rm" from the NT-machine or with windows itself. But not from
> the 2k-machine. (what kind of timer blocks the file ?)
> 
> If I "touch" the file from the 2k-machine, it also can not be erased with
> "rm".
> 
> Can anybody help me, please?

Check the permissions after running touch.  Anything weird?  Did you try
the latest Cygwin snapshot from http://cygwin.com/snapshots ?  There's one
patch in it which *might* have to do with it, but I wouldn't bet.

> Oh, I forgot: It's also not possible to overwrite the file. I made "strace"s
> on both machines but found nothing of interest.

Hum.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: rm fails on netware drive using win2k
  2004-07-28 13:45 ` Corinna Vinschen
@ 2004-07-28 20:53   ` Andrew DeFaria
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew DeFaria @ 2004-07-28 20:53 UTC (permalink / raw)
  To: cygwin

Corinna Vinschen wrote:

> On Jul 28 09:15, Holger Schmidt wrote:
>
>> We got two machines (WinNT 4.0 and Win2K) which uses a specified 
>> directory
>> on a netware drive. On both machines runs the same cygwin (1.5.10-3).
>>
>> I "touch" a file from the NT-machine to the netware-drive ("test1").
>> When I try to remove it with "rm" no problem appears.
>>
>> Again I "touch" a file from the NT-machine to the netware-drive 
>> ("test2").
>> I tried to remove it with the 2k-machine and nothing appears. "rm" finish
>> correctly, but the file "test2" still exists and no error message is
>> displayed.
>> Then I tried to remove it with the NT-machine and the same problem as 
>> on the
>> 2k-machine appears.
>>
>> Even with a Windows application (equal if NT or 2k) the file "test2" 
>> can not
>> be erased (a message appears "used by another application").
>>
>> After waiting a couple of minutes (don't know how long) the file can be
>> erased with "rm" from the NT-machine or with windows itself. But not from
>> the 2k-machine. (what kind of timer blocks the file ?)
>>
>> If I "touch" the file from the 2k-machine, it also can not be erased with
>> "rm".
>>
>> Can anybody help me, please?
>
>
> Check the permissions after running touch. Anything weird? Did you try
> the latest Cygwin snapshot from http://cygwin.com/snapshots ? There's one
> patch in it which *might* have to do with it, but I wouldn't bet.
>
>> Oh, I forgot: It's also not possible to overwrite the file. I made 
>> "strace"s
>> on both machines but found nothing of interest.
>
>
> Hum.
>
> Corinna

Along with checking the permissions.... I suspect that there are really 
3 machines involved. One NT, one 2K and yet a third one which houses the 
"a network drive". What version is that machine?

Further you are attempting to rm the file from NT (works OK) and from 
the 2K (doesn't work). Questions that pop up in my mind are: Who are you 
logged in as on the NT machine? Domain login? Who are you logged in as 
on the 2K machine? Domain login? And what is the value of $CYGWIN? Do 
you have ntsec and smbntsec set?

-- 
Why do we say something is out of whack? What's a whack?


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-28 15:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-28  8:10 rm fails on netware drive using win2k Holger Schmidt
2004-07-28 13:45 ` Corinna Vinschen
2004-07-28 20:53   ` Andrew DeFaria

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).