public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrew DeFaria <Andrew@DeFaria.com>
To: cygwin@cygwin.com
Subject: Re: rm fails on netware drive using win2k
Date: Wed, 28 Jul 2004 20:53:00 -0000	[thread overview]
Message-ID: <ce8ejq$h9v$1@sea.gmane.org> (raw)
In-Reply-To: <20040728081024.GA12700@cygbert.vinschen.de>

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/

      reply	other threads:[~2004-07-28 15:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-28  8:10 Holger Schmidt
2004-07-28 13:45 ` Corinna Vinschen
2004-07-28 20:53   ` Andrew DeFaria [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ce8ejq$h9v$1@sea.gmane.org' \
    --to=andrew@defaria.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).