delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/09/10:29:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-Id: <4.3.1.2.20020409100941.03181e40@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
Date: Tue, 09 Apr 2002 10:27:48 -0400
To: "Ulrich Voss" <voss AT vocalweb DOT de>, cygwin AT cygwin DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: permission problem after installation under W2K
In-Reply-To: <3CB2E440.20401.1B762F@localhost>
References: <4 DOT 3 DOT 1 DOT 2 DOT 20020408120148 DOT 023613c0 AT pop DOT ma DOT ultranet DOT com>
<3CB1D6E1 DOT 19933 DOT F3CE5B AT localhost>
Mime-Version: 1.0

At 07:53 AM 4/9/2002, Ulrich Voss wrote:
>Hi,
>
> > 
> > OK.  Better go to strace and cygcheck -s -r -v output.  Perhaps it's
> > just a missing 'ntsec' setting in your CYGWIN environment variable?  
>
>No it's there ...
>
>---
>$ cygcheck -s -c -v | grep ntsec
>CYGWIN = `tty ntsec'
>---


OK, what about my other two suggestions?  Did that unearth anything 
suspicious?


> > A
> > review of pertinent areas of the User's Guide might prove helpful.
>
>But I don't have the slightest clue where to look ... I never had this 
>problem before. And I have installed cygwin/sshd on several 
>computers before.


All the more reason to review the User's Guide.  If you understand better 
how Cygwin does things, you'll be better equipped to understand where to
look when problems occur.  I'd recommend anything having to do with file
permissions and it's handling in Cygwin, since that appears to be the root
of your problem.


>Ok, I tried a new install. I deleted /cygwin. I deleted the cygnus 
>tree from the registry. The only thing I didn't delete is the cygwin 
>environment variable set to ntsec and tty. And now the setup 


Why not use setup to uninstall everything?  Then there's no guessing about
the procedure.


>doesn't even create my home dir. When I try to login, I get this:
>
>---
>
>mkdir: cannot create directory `/home': Permission denied

  ^^^^^^
What exactly is invoking this?  How are you logging in?


>bash: cd: /home/Administrator: No such file or directory
>
>---
>
>I haven't changed a single bit on /etc/passwd or /etc/group this 
>time:
>
>--
>$ less /etc/passwd
>Jeder:*:0:0:,S-1-1-0::
>SYSTEM:*:18:18:,S-1-5-18::
>Administratoren:*:544:544:,S-1-5-32-544::
>Administrator:unused_by_nt/2000/xp:500:513:U-
>CIABATTA\Administrator,S-1-5-21-193
>5655697-920026266-854245398-500:/home/Administrator:/bin/bash
>Gast:unused_by_nt/2000/xp:501:513:U-CIABATTA\Gast,S-1-5-21-
>1935655697-920026266-854245398-501:/home/Gast:/bin/bash
>
>$ less /etc/group
>Jeder:S-1-1-0:0:
>SYSTEM:S-1-5-18:18:
>Kein:S-1-5-21-1935655697-920026266-854245398-513:513:
>Administratoren:S-1-5-32-544:544:
>Benutzer:S-1-5-32-545:545:
>G<E4>ste:S-1-5-32-546:546:
>Hauptbenutzer:S-1-5-32-547:547:
>Replikations-Operator:S-1-5-32-552:552:
>Sicherungs-Operatoren:S-1-5-32-551:551:
>
>-- 
>
>I'm not sure what when wrong, but I have never seen this problem 
>on NT before.
>
>And I think, when I can't access my own home dir, this is a bug in 
>setup. Or the password creation? Or somewhere else.


Or local permissions.  What kind of permissions are set on your file systems
in Windows world?  (Very) recently we had a report from someone having all 
sorts of permission problems due to the fact that they set permissions on 
their local file system to allow only authenticated users (this was a problem
for ftp in this case).  Also, as I pointed out above, specifics about the 
process you take when you see these problems and what generates the errors
is necessary if you want someone to offer you useful possible solutions.  
It's clear you see a problem but most of the information you're providing is 
not helpful to anyone.  It's important to zero in on a problem but it's not
possible to do that with random musings on the possible sphere of faults and
sparse diagnostic tidbits.  If you can provide the information I asked you 
about, someone may be able to offer you some insight.  Or you may have some
yourself! ;-)

Just my $.02.



Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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