delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/01/03:58:46

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: <FFE5E286773CD411873400D0B747AC580E0944E1@goedel.bbn.hp.com>
From: "BUEHL,REINER (HP-Germany,ex1)" <reiner DOT buehl AT hp DOT com>
To: cygwin AT cygwin DOT com
Subject: RE: Files in /etc missing after new install [resolved]
Date: Wed, 1 Oct 2003 09:58:24 +0200
MIME-Version: 1.0

Igor,

I did as you suggested and reinstalled after changing the permissions on
C:\Cygwin. I did set my Domain User to full control, authenticated users to
Read & Execute, List Folder Contents and Read. After the installation the
postinstall scripts seem to have run fine, the formerly missing files are
there. The only issue left is an error message "Cannot get PDC, code = 2453"
when I try to create a new /etc/group with "mkgroup -l -d -u [domainuser]
[domain] >/etc/group". Do you have any ideas here?

Best regards,
Reiner. 

> -----Original Message-----
> From: Igor Pechtchanski [mailto:pechtcha AT cs DOT nyu DOT edu] 
> Sent: Tuesday, September 30, 2003 5:45 PM
> To: BUEHL,REINER (HP-Germany,ex1)
> Cc: cygwin AT cygwin DOT com
> Subject: RE: Files in /etc missing after new install
> 
> 
> Reiner,
> 
> Yes, it certainly does look like a permission issue (as I 
> guessed in my reply to CGF -- I should learn to read all the 
> messages in the thread before replying).  Since you said 
> you've already reinstalled a couple of times, and, at a 
> guess, are willing to do so again if needed, as the simplest 
> course of aciton I'd suggest removing everything under 
> c:\cygwin (but leaving the directory itself), changing the 
> permissions of that directory to something more liberal (IMO, 
> read and execute access for at least "Authenticated Users" or 
> "Users", write access for the owner, and check the "inherited 
> by children" box), and reinstalling.
> 
> Please let the list know if this works, since this kind of 
> problem has cropped up from time to time, and it's good to 
> have something definite in the archives.
> 	Igor
> P.S. As suggested in 
> <http://cygwin.com/ml/cygwin/2003-09/msg01722.html>,
> this would be a good functionality to have in setup.
> 
> On Tue, 30 Sep 2003, BUEHL,REINER (HP-Germany,ex1) wrote:
> 
> > /etc/postinstall/base-files-profile.sh.done worked, both 
> other scripts 
> > mentioned had errors:
> >
> > /bin/uname: not found
> > /bin/cygpath: not found
> > Unknown system type ; exiting
> >
> > and
> >
> > /bin/mkpasswd: not found
> > /bin/mkgroup: not found
> >
> > Even though all files exist in /bin (with .exe ending). It 
> seems to be 
> > a permission problem of some kind because if I do a ls -l in /etc I 
> > see this:
> >
> > bash-2.05b$ ls -l /etc
> > total 114
> > ----------    1 reibuehl mkpasswd     2810 Sep 30 17:05 DIR_COLORS
> > d---------   13 reibuehl 4294967295        0 Sep 30 13:54 X11
> > ----------    1 reibuehl mkpasswd       28 Sep 30 17:05 bash.bashrc
> > d---------    3 reibuehl 4294967295        0 Sep 30 13:52 defaults
> > d---------    2 reibuehl 4294967295        0 Sep 30 13:54 fonts
> > ----------    1 reibuehl 4294967295     4415 Mar 10  2003 man.config
> > ----------    1 reibuehl 4294967295    88039 Sep 16 23:25 moduli
> > d---------    2 reibuehl 4294967295        0 Sep 30 17:06 
> postinstall
> > ----------    1 reibuehl mkpasswd     5886 Sep 30 17:05 profile
> > d---------    2 reibuehl 4294967295        0 Sep 30 13:53 profile.d
> > d---------    2 reibuehl 4294967295        0 Sep 30 13:57 setup
> > d---------    2 reibuehl 4294967295        0 Sep 30 17:05 skel
> > ----------    1 reibuehl 4294967295    12546 Jul 16 19:27 termcap
> >
> > Attached is the output of cygcheck -svr.
> >
> > Best Regards,
> > Reiner.
> >
> >
> > > -----Original Message-----
> > > From: Igor Pechtchanski [mailto:pechtcha AT cs DOT nyu DOT edu]
> > > Sent: Tuesday, September 30, 2003 5:05 PM
> > > To: John Morrison
> > > Cc: BUEHL,REINER (HP-Germany,ex1); cygwin AT cygwin DOT com
> > > Subject: Re: Files in /etc missing after new install
> > >
> > >
> > > Also
> > > /etc/postinstall/passwd-grp.sh.done
> > >
> > > which comes from the "base-passwd" package.
> > >       Igor
> > >
> > > On Tue, 30 Sep 2003, John Morrison wrote:
> > >
> > > > From a bash prompt /etc/postinstall/base-files-mketc.sh.done
> > > > /etc/postinstall/base-files-profile.sh.done
> > > >
> > > > should create them, if the files don't exist with a .done 
> > > > extension then postinstall wasn't called.  If they don't exist 
> > > > then
> > > you didn't
> > > > install the base-files package.
> > > >
> > > > J.
> > > >
> > > > On Tue, 30 Sep 2003, BUEHL,REINER (HP-Germany,ex1) wrote:
> > > >
> > > > > Hi all,
> > > > >
> > > > > I just installed cygwin (Setup.exe v2.415). The installation 
> > > > > went fine, no errors, but all the files that should have been 
> > > > > created during the postinstall step are missing. There is no 
> > > > > /etc/profile, no /etc/passwd, no /etc/group and so on. Can 
> > > > > anybody help me to fix this? I already reinstalled 
> twice... :-(
> > > > >
> > > > > Best regards,
> > > > > Reiner.
> 
> -- 
> 				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
> ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
>     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> "I have since come to realize that being between your mentor 
> and his route to the bathroom is a major career booster."  -- 
> Patrick Naughton
> 
> --
> 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/
> 

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