delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/30/04:34:38

X-Spam-Check-By: sourceware.org
Date: Thu, 30 Nov 2006 10:34:19 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: directory permissions problem with net use
Message-ID: <20061130093419.GC25001@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <loom DOT 20061128T231450-174 AT post DOT gmane DOT org> <456CC08B DOT 502 AT cygwin DOT com> <loom DOT 20061129T184727-12 AT post DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <loom.20061129T184727-12@post.gmane.org>
User-Agent: Mutt/1.4.2.2i
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 Nov 29 17:49, Dave Sinclair wrote:
> Larry Hall (Cygwin <reply-to-list-only-lh <at> cygwin.com> writes:
> 
> > 
> > Specify the user name and password to "net use"?  If this is not it, we
> > need 'cygcheck -srv' output, your '/etc/passwd' and '/etc/group' entries for
> > 'root', and whether you ssh in with password or public key authentication.
> > The former should work.  The latter requires the user name and password
> > supplied to "net use" as I mentioned above.
> > 
> 
> Thanks Larry, i tried it with a passoword/userid (see below) but no joy.
> 
> here's the cygcheck -srv output etc:
> [...]
> net use s: \\\\beech\\svctools xxxxx  /USER:root
> The command completed successfully.
> 
> df: `/svctools': Permission denied
> Filesystem           1K-blocks      Used Available Use% Mounted on
> C:\cygwin\bin         78148160  11758728  66389432  16% /usr/bin
> C:\cygwin\lib         78148160  11758728  66389432  16% /usr/lib
> C:\cygwin             78148160  11758728  66389432  16% /
> c:                    78148160  11758728  66389432  16% /cygdrive/c
> d:                      389140    389140         0 100% /cygdrive/d
> df: `/cygdrive/s': Permission denied

Can you give us the output of 'cacls s:\' from a shell in which you're
able to access that drive, and the output of 
'c:/windows/system32/whoami /all' when you logged on via ssh?
I assume the permissions on the drive are set in a way which disallows
access using the passwordless user token, which is not quite the same
as a user token which is generated by a logon with password.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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