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://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 |
Date: | Tue, 21 Oct 2003 08:11:13 +0200 |
Message-ID: | <3F710B1D0009C8EA@mssbzhh-int.msg.bluewin.ch> |
In-Reply-To: | <Pine.GSO.4.56.0310201134000.15002@slinky.cs.nyu.edu> |
From: | "Grossniklaus Bruno" <grossnik DOT mailinglists AT bluewin DOT ch> |
Subject: | Re: ProFTPD 1.2.9rc2: "missing /var/log/wtmp" |
To: | cygwin AT cygwin DOT com |
MIME-Version: | 1.0 |
X-Originating-IP: | 172.21.1.217 |
Hello Igor >if [ ! -d /var/log ] ; then \ > mkdir -p /var/log ; >fi >if [ ! -f /var/log/wtmp ] ; then \ > touch /var/log/wtmp ; >fi > >FWIW, it'd be safer to also check whether this file is a symlink (i.e., >add "-a ! -l /var/log/wtmp" to the test), but this should do for now. What about a chmod 666 /var/log/wtmp after the touch? Bruno -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |