delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/11/20:01:40

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: File permissions... Mounting...
Date: Thu, 11 Oct 2007 17:00:53 -0700
Message-ID: <A1E46867FD0F4B47A821D626D858F3CF189004@RWCEXC01.HQ.DeCru.com>
In-Reply-To: <470D8CFE.7040503@cygwin.com>
From: "Eric Uratchko" <ericu AT decru DOT com>
To: <cygwin AT cygwin DOT com>
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l9C01Tho025611

That's just it-- I've changed the domain user to a million different
things. Right now there is no authentication, it's set to full perms to
everyone. I can open it in everything. I can go to /cygdrive and see c
and z, z is the mapped network share.

Then I SSH in to the box and z is gone ... Anything that's mapped to it
is inaccessible.

I've tried chown -hR sshd_server:SYSTEM z ... And it acts like it takes
it. I do an ls -la and see that it hasn't actually changed.

Is it possible to access network drives while ssh'd into cygwin? Or has
noone ever gotten that to work? Searching finds posts where people can't
get it to work, with suggestions that don't work and then "I don't know
why this is doing that" ... 

It doesn't matter if it's NFS, cifs.. I can make it either. I don't
care, all I need is to access the drive. Is there any way to just
disable permissions?

Please forgive my ignorance, I'm new to this. If I could just get sshd
to run as administrator, would that fix this problem?

Basically everything works fine locally .. And when I ssh in, it's
broken. I know that sshd is being called via sshd_server .. And I've
even made a domain account name sshd_server and granted it full privs,
it makes no difference as it's not logging in with a domain account.
I've given that local account full perms too. I can map a network share
as that account even. Still no difference.

-- Eric Uratchko

--------------
My guess is that 'Y:' is a network drive that requires authentication to
access.  It's apparently owned by a domain user not in your
'/etc/passwd'
file, which accounts for the '???' stuff.  But things would be clearer
if we knew more about your installation and configuration (thus the
pointer to the problem reports guidelines above. ;-) )


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

--
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