X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_65 X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Post-Install Scripts: chmod 755 /var doesn't work Date: Mon, 27 Apr 2009 09:27:21 -0500 Message-ID: <297343D29C14AA4D822142893ABEAEF306518782@srv1163ex1.flightsafety.com> In-Reply-To: <464d6a5a0904270456p70f9cdbep1c887388a44d2769@mail.gmail.com> References: <464d6a5a0904270456p70f9cdbep1c887388a44d2769 AT mail DOT gmail DOT com> From: "Thrall, Bryan" To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 K.C. Lee wrote on Monday, April 27, 2009 6:57 AM: > I'm trying to make a unattended installation of cygwin including openssh > server.=20 >=20 > For some reason I have to excute the following 2 lines and I write > them into some /etc/postinstall/xxx.sh and compress it as .tar.bz2 > file > chmod +r /etc/passwd > chmod +r /etc/group >=20 > But this didn't work. I assume you're using Cygwin 1.5, in which case try setting CYGWIN=3Dntsec (Cygwin Setup sets it to nontsec by default; see http://cygwin.com/cygwin-ug-net/using-cygwinenv.html for what these settings mean): export CYGWIN=3Dntsec chmod +r /etc/passwd chmod +r /etc/group --=20 Bryan Thrall FlightSafety International bryan DOT thrall AT flightsafety DOT com -- 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/