X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_25,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <52334.97.113.81.201.1234735988.squirrel@webmail.efn.org> Date: Sun, 15 Feb 2009 14:13:08 -0800 (PST) Subject: [attention base-files maintainer] copying /bin files to home dir on first run of cygwin.bat From: "Yitzchak Scott-Thoennes" To: cygwin AT cygwin DOT com User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I did a base install of cygwin 1.7 (using setup-1.7.exe), and the first time I ran cygwin.bat, it gave the following: ==== Copying skeleton files. These files are for the user to personalise their cygwin experience. They will never be overwritten nor automatically updated. bash: cd: /etc/skel: No such file or directory `./addftinfo.exe' -> `/home/ysth//addftinfo.exe' `./afmtodit' -> `/home/ysth//afmtodit' ... ==== repeated for many files. Looking into it further, it seems at least this version of base-files (3.8-2) has a postinstall script that is expecting something else to have created /etc/skel before it starts copying files from /etc/defaults/etc/skel there. This is one possible fix: $ cat bf.patch --- etc/postinstall/base-files-profile.sh.orig 2009-02-15 13:50:22.779600000 -0800 +++ etc/postinstall/base-files-profile.sh 2009-02-15 13:54:16.342800000 -0800 @@ -10,6 +10,7 @@ fDest=/${f} if [ ! -e ${fDest} -a ! -L ${fDest} ]; then /bin/echo "Using the default version of ${fDest} (${fSrc})" + /bin/mkdir -p `dirname ${fDest}` /bin/touch ${fDest} /bin/cp ${fSrc} ${fDest} else -- 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/