| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Date: | Wed, 19 Sep 2001 10:03:09 -0400 |
| From: | Jason Tishler <jason AT tishler DOT net> |
| To: | Dan Gardner <Dan DOT Gardner AT emap DOT com> |
| Cc: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
| Subject: | Re: cron / crontab different permissions |
| Message-ID: | <20010919100309.A2008@dothill.com> |
| Mail-Followup-To: | Dan Gardner <Dan DOT Gardner AT emap DOT com>, |
| "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> | |
| Mime-Version: | 1.0 |
| In-Reply-To: | <E1B4A7141B8BD411925200508BC5D44FF2C3B6@ANGELMAIL01> |
| User-Agent: | Mutt/1.3.18i |
On Mon, Sep 17, 2001 at 06:49:31PM +0100, Dan Gardner wrote:
> When ever I use crontab to change a users crontab, it alters the
> /var/cron/tabs<username> file.
> But it does not set the correct permissions on the file so when cron tries;
> it fails logging the following error:
>
> CAN'T OPEN (tabs/<username>)
>
> Why is this?
Following the instructions in:
/usr/doc/Cygwin/cron.README
I'm running into the same problem.
After running crontab -e, I have the following:
$ find /var/cron -ls
727000 0 drwxrwxrwt 3 jt None 0 Sep 19 09:17 /var/cron
989696 0 drwxrwxrwt 2 jt None 0 Sep 19 09:18 /var/cron/tabs
7935873 1 -rw------- 1 jt None 282 Sep 19 09:18 /var/cron/tabs/jt
Since cron is running under the SYSTEM account, it is clear why it cannot
read my crontab.
My temporary workaround is the following:
$ chmod +r /var/cron/tabs/jt
which must be re-executed after every crontab -e.
What are Dan and I missing?
FYI, I *did* search the archives. In particular, I read every message
found when I searched for "cron Schaap".
Thanks,
Jason
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |