From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5386 invoked by alias); 20 Oct 2011 13:10:37 -0000 Received: (qmail 372 invoked by uid 22791); 20 Oct 2011 13:10:05 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Thu, 20 Oct 2011 13:09:44 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 541E52CBDA0; Thu, 20 Oct 2011 15:09:41 +0200 (CEST) Date: Thu, 20 Oct 2011 13:10:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: rm -rf cannot delete the upmost directory level anymore on a Novell share Message-ID: <20111020130941.GB13505@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <4E9EE8CC.5090806@lauterbach.com> <20111019154540.GE22809@calimero.vinschen.de> <4E9EFE31.20809@lauterbach.com> <20111020092033.GA5988@calimero.vinschen.de> <4EA00B16.1030400@lauterbach.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4EA00B16.1030400@lauterbach.com> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-10/txt/msg00394.txt.bz2 On Oct 20 13:50, Franz Sirl wrote: > Am 2011-10-20 11:20, schrieb Corinna Vinschen: > >On Oct 19 18:43, Franz Sirl wrote: > >>True. But on the other hand NWFS and NcFsd exercise a lot of pathes > >>in the Cygwin sourcecode that aren't usually used. > > > >Not really a lot. NWFS is known to have three problems: > > > >- The NtQueryInformationFile(FileBasicInformation) call fails. This > > call is only used in circumstance which don't affect NWFS. > > I think that still fails with NcFsd, I'll check it. As I wrote, it's not used, so even if it fails, it's worth a support case with Novell, but it doesn't mean we have to change Cygwin. > >- NWFS only supports filenames which follow DOS conventions. That is, > > it does not support filenames with leading spaces or trailing dots and > > spaces. This is only checked for when generating filenames. > > Leading and trailing spaces seem to work, trailing dots fail with > "Permission denied". So we still have to assume that only DOS filenames work. > >- NWFS does not support re-opening a file by handle, so it always has to > > be re-opened by name. The only difference here is how the > > OBJECT_ATTRIBUTES is created, with a handle or with a name. > > I've worked with Novell to fix that one for NcFsd, will be in one of > the next releases (IR10 or IR11 I guess). Cool, but I think that NcFsd should still be subsumed under NWFS. The fact that re-opening doesn't quite work isn't such a big problem, and by using the OBJECT_ATTRIBUTES with a name we can support older versions of NcFsd as well. > $ mount > F: on /cygdrive/f type ncfsd (binary,posix=0,user,noumount,auto) Ok, so it's not subsumed under any other filesystem. I'll change that in CVS to handle NcFsd identical to NWFS. > $ /usr/lib/csih/getVolInfo /cygdrive/j > Device Type : 7 > Characteristics : 30 > Volume Name : > Serial Number : 1549160268 > Max Filenamelength : 255 > Filesystemname : > Flags : a2 > FILE_CASE_SENSITIVE_SEARCH : FALSE > FILE_CASE_PRESERVED_NAMES : TRUE > FILE_UNICODE_ON_DISK : FALSE > FILE_PERSISTENT_ACLS : FALSE > FILE_FILE_COMPRESSION : FALSE > FILE_VOLUME_QUOTAS : TRUE > FILE_SUPPORTS_SPARSE_FILES : FALSE > FILE_SUPPORTS_REPARSE_POINTS: TRUE > FILE_SUPPORTS_REMOTE_STORAGE: FALSE > FILE_VOLUME_IS_COMPRESSED : FALSE > FILE_SUPPORTS_OBJECT_IDS : FALSE > FILE_SUPPORTS_ENCRYPTION : FALSE > FILE_NAMED_STREAMS : FALSE > FILE_READ_ONLY_VOLUME : FALSE > FILE_SEQUENTIAL_WRITE_ONCE : FALSE > FILE_SUPPORTS_TRANSACTIONS : FALSE Thanks. > The rest of your questions I will answer as soon as the new snapshot > is available. Are you ok if I send you an URL to a test DLL via PM for this issue? I would add the "handle NcFsd as NWFS" as well to this DLL, otherwise it would be identical to the latest snapshot, which should be available now, btw. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple