Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <5.1.0.14.2.20010625220245.05c7da38@imap.mscha.org> X-Sender: ml AT imap DOT mscha DOT org (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 25 Jun 2001 22:13:12 +0200 To: Leonid Rokhinson , From: Michael Schaap Subject: Re: crontabs in /tmp/.. ?! In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: at mscha.com by AMaViSd snapshot-20010407 (http://amavis.org/) At 16:40 25-6-2001, Leonid Rokhinson wrote: >I've installed the latest cron and found that it creates crontab files in >/tmp/crontab.xxxx? I would expect to find it in /etc/var/cron/tabs/ or >somewhere there. Is it possible to change or the program is compiled >with incorrect build-in path? No, crontab certainly doesn't put crontab files in /tmp. But if you do "crontab -e", it will put a copy of your crontab file in /tmp and allow you to edit this. After editing, it will put the crontab back in /var/cron/tabs. Then, if you do "crontab -l", it will list the source of the crontab as "/tmp/whatever". If this doesn't work for you, then perhaps there is a permissions problem. On a UNIX system, crontab is setuid'd to root, so can do whatever it wants. On Windows, this doesn't work, obviously. On my system, /var/cron and /var/cron/tabs have pretty loose permissions, perhaps this is different on yours. Try: mkdir -p /var/cron/tabs chmod a+rwx /var/cron chmod a+rwx /var/cron/tabs - Michael -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple