delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: | <BAY19-F16421DC3C73C40A509E5CCB5160@phx.gbl> |
X-Originating-Email: | [karlm30 AT hotmail DOT com] |
X-Sender: | karlm30 AT hotmail DOT com |
From: | "Karl M" <karlm30 AT hotmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Base files (/etc/profile) |
Date: | Tue, 17 May 2005 07:47:11 -0700 |
Mime-Version: | 1.0 |
X-OriginalArrivalTime: | 17 May 2005 14:47:11.0541 (UTC) FILETIME=[4EC90E50:01C55AEF] |
X-IsSubscribed: | yes |
------=_NextPart_000_2cde_6d61_486a Content-Type: text/plain; format=flowed Hi All... With the latest version of base files (/etc/profile), a permission error (for /tmp) is displayed every time /etc/profile is run without administrators permissions. The following patch prevents this by checking the permissions before trying to set them. So then run once as administrator after updating. This patch is of course only one possible way to resolve the problem. Thanks, ...Karl ------=_NextPart_000_2cde_6d61_486a Content-Type: text/plain; name="profile.patch"; format=flowed Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="profile.patch" --- profile.orig 2005-05-17 07:31:35.888753400 -0700 +++ profile 2005-05-17 07:33:46.315400700 -0700 @@ -60,17 +60,17 @@ /bin/find . -type f | while read f; do fDest=`echo ${f} | sed -e 's/^\.//g'` if [ ! -e "${HOME}${fDest}" -a ! -L "${HOME}${fDest}" ]; then /usr/bin/install -D -p -v "${f}" "${HOME}/${fDest}" fi done fi -if [ -d "/tmp" ]; then +if [ -d "/tmp" -a `stat -c%a /tmp` != "1777" ]; then chmod 1777 /tmp fi # Default to unix make mode MAKE_MODE=unix export MAKE_MODE # It is recommended that cvs uses ssh for it's remote shell environment ------=_NextPart_000_2cde_6d61_486a Content-Type: text/plain; charset=us-ascii -- 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/ ------=_NextPart_000_2cde_6d61_486a--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |