Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=VYn1mMbOls2/ywSlOifK4s2E7TEVdIJYw8mc2fEjeadL+KsiXrWHHtH7IchxphIBgX1k2oJPElfWiFlrmW/7oYFD7J8VDo5gYVYRfaTKQqNgjmT7qnYAZJmfyLRJj4HVF9UUUzrnO+RJHy5TqM2U/bSz1gF3OGLkNkgUe1CCenw= Message-ID: <3adf6db8041102093616750b66@mail.gmail.com> Date: Tue, 2 Nov 2004 17:36:24 +0000 From: Barry Kelly Reply-To: Barry Kelly To: cygwin AT cygwin DOT com Subject: Problem with installing crontab on Cygwin(1.5.11/1005.11.0.0)/WinXP SP2 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes I'm getting the following error when trying to install a crontab on my account: $ crontab -e # editing my crontab here... chown: Invalid argument I've tried updating my passwd (I live on a Win2K server domain) file in case it was out of date or missing local users (vs domain users), using $ mkpasswd -d -l -g > /etc/passwd In case it makes a difference, my home directory does not correspond to my username, so I edited the passwd file just after running mkpasswd. However, I still get the same problem. I've tried fiddling with the ownership of /var/cron/tabs in case that was a problem, but I then got "access denied" errors, so I backed off. Cron is currently running on my system, and was installed with: ~$ cygrunsrv -I cron -p /usr/sbin/cron.exe -a -D I stopped and started it again after changing /etc/passwd. Process Explorer tells me cron is running under the local SYSTEM account. I've run 'strace crontab saved' and inspected the output; the chown syscall is returning -1, but it doesn't seem to give me any more information. Any ideas? -- Barry -- 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/