This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: permission problem after installation under W2K


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@rfk.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]