X-Spam-Check-By: sourceware.org Subject: Re: Writing to MVFS (clearcase) volumes from remote ssh From: Max Kaehn To: "Benedict, Michael" Cc: cygwin AT cygwin DOT com In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 06 Feb 2007 15:05:41 -0800 Message-Id: <1170803141.5179.15.camel@fulgurite> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-27.rhel4.6) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Tue, 2007-02-06 at 15:55 -0600, Benedict, Michael wrote: > I have an ssh server running on a Windows XP Professional. I also have > a Clearcase Dynamic view mounted to the M:\ drive. From a Cygwin X-term > (local), I am able to interact with files mostly as expected(1). If I > ssh into Cygwin(2), I can list and read files fine. If I have > permission, I can even unlink them! However, I am not able to open any > files for writing, including creating new files. Running with smbntsec > or nosmbntsec in the CYGWIN environment variable seems to have no > effect. I am running with ntsec set in the CYGWIN environment variable. > I have tried running with and without privilege separation for sshd. ClearCase dynamic views are mounted in the console session, not in the global namespace. e.g. my view slothman_main is mounted on drive S:, with my MVFS drive as V:, and drive S: only exists in the \Sessions\0\DosDevices\00000000-0000bff9 as symbolic link from "S:" to "\??\V:\slothman_main". (You can see this using WinObj: http://www.microsoft.com/technet/sysinternals/SystemInformation/WinObj.mspx .) With sshd running as a service, it's not in the same session as the console, so it can't see the mount. I notice that the MVFS drive itself is mounted in the global namespace (e.g.: \GLOBAL??\V: is a link to \Device\mvfs on my system). Try accessing your view via the view drive (e.g. using V:\slothman_main instead of S:); that worked on my system (running 1.5.19). -- 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/