delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/10/04:24:03

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
Date: Thu, 10 Nov 2005 10:23:52 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: problems using cron to access NTFS encrypted files on XP Pro
Message-ID: <20051110092352.GB4770@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <200511100702 DOT jAA72K2j018921 AT gourmet DOT spamgourmet DOT com>
Mime-Version: 1.0
In-Reply-To: <200511100702.jAA72K2j018921@gourmet.spamgourmet.com>
User-Agent: Mutt/1.4.2i

On Nov  9 23:01, cyg DOT 108 AT xoxy DOT net wrote:
> 
> Well I think I'm figured out part of what's going on here.  It appears
> that when the backup script is run by cron, it is not able to read or
> write encrypted NTFS files.  Is there a workaround?

Yes, use the Windows task scheduler.  You can't access the encrypted
files because the cron jobs don't run with full user credentials.  In
other words, they don't have your password, which is necessary to access
encrypted files.  There's no workaround, except by either storing your
password in cleartext or two-way encrypted at some point to do a
subsequent user logon (which should be a no-no for obvious reasons), or
by using a scheduler which is using password authentication to do its
job, which is for instance the windows scheduler.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat, Inc.

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019