delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/06/18:06:04

X-Spam-Check-By: sourceware.org
Subject: Re: Writing to MVFS (clearcase) volumes from remote ssh
From: Max Kaehn <slothman AT electric-cloud DOT com>
To: "Benedict, Michael" <MBenedict AT twacs DOT com>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <A1E62C589B52E14393506E4F6AF80E2A214E81@twx-exch01.twacs.local>
References: <A1E62C589B52E14393506E4F6AF80E2A214E81 AT twx-exch01 DOT twacs DOT local>
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


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