delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/04/22:03:08

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Neil Erskine" <neil DOT erskine AT jjmackay DOT ca>
To: <cygwin AT cygwin DOT com>
Subject: Bug in Unlink??!! cygwin 1.1.8, Windows 2000 SP1, Novell 5.1
Date: Sun, 4 Mar 2001 22:57:54 -0400
Message-ID: <CAEIIBEHOJELFDAHENHIIEKECCAA.neil.erskine@jjmackay.ca>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

Windows 2000 SP1 with Novell client 4.80.

The following was uncovered when trying to get cvs to work on a Novell
partition:

After running a cvs init to create a repository on a Novell drive (always
fails),
a bunch of files have been created on the Novell drive. However, rm won't
delete
them, even with the -f option.  If I chmod the files to "u+w", rm then
works.
Also, if an "mv editinfo,v t" command is run, the file "t" shows up,
but the original file does not disappear, and rm won't remove either,
even if "-f" is specified. This seems to be related to (cause) the cvs
failure,
as there is a 1-1 mapping between file sizes of .#nnnn files, and the target
files.

When run on a Win98 box, cvs still doesn't work, but rm run manually
works correctly.  John Doucette is submitting a separate report on
the Win98 behaviour, with cvs debugging output attached, which shows the
specific unlink operations failing.

When run on Windows 2000 inside a bash shell, rm doesn't print a
confirmation
message, which is printed from a console window, so I haven't much output to
show.

If I change the permission on the files by adding write permission for
myself
(chmod u+w), rm and mv then work.

My guess is that the mechanism Cygwin is using to implement read-only files
is inconsistent with Novell usage.  This would account for the fact that rm
displays a confirmation prompt when trying to delete these read-only files,
but it doesn't when I create a read-only file from Bash on a NTFS partition.

Neil Erskine
JJ Mackay Canada Limited
1046 Barrington Street, 1st floor
Halifax, N.S. B3H 2R1

voice 902 423 7727 ext. 230
fax 902 422 8108


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019