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

