Bug in Unlink??!! cygwin 1.1.8, Windows 2000 SP1, Novell 5.1

Neil Erskine neil.erskine@jjmackay.ca
Sun Mar 4 19:02:00 GMT 2001


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



More information about the Cygwin mailing list