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 Message-Id: <6.0.1.1.0.20040112112835.037efa08@127.0.0.1> X-Sender: lhall:pop DOT rcn DOT com AT 127 DOT 0 DOT 0 DOT 1 (Unverified) Date: Mon, 12 Jan 2004 11:34:36 -0500 To: Alan London , cygwin AT cygwin DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: cron + network share(w/ full access?) In-Reply-To: <20040112081853.70213.qmail@web60204.mail.yahoo.com> References: <20040112081853 DOT 70213 DOT qmail AT web60204 DOT mail DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-IsSubscribed: yes Yes, this works fine. I just ran some tests here and I have no problem accessing shares from cron if the shares are accessible without the need to authenticate (under Windows). I don't know why you and Tim had problems getting this to work with his option 1 (which is all I need - actually "Everyone" or "Guest" permissions is sufficient here). Larry At 03:18 AM 1/12/2004, Alan London you wrote: >Oh? This works for you? I can't seem to get this to >work... it seems >SYSTEM doesn't have the right access to network shares >via UNC paths. >(That was the whole reason for the lengthy discussion >that I linked to >in my message below: > >http://www.cygwin.com/ml/cygwin/2003-04/msg01001.html) > >Anyways, I've given up and used Windows' own Task >Scheduler for jobs >which need network access. > >Alan > >Andrew DeFaria wrote: >> > Alan London wrote: >> > >> > Hi, >> > >> > Thanks for the message but cron_diagnose.sh >doesn't seem to give >> > me insight on what I'm trying to do. >> > >> > I was trying to perform a hack discussed in this >thread: >> > >http://www.cygwin.com/ml/cygwin/2003-04/msg01001.html >> > >> > >> > I am attempting to have the cron service run as >another user so >> > that it can access network shares. >> >> >> The best way to have cron access network shares is >to leave cron >> running as SYSTEM, make the share a public share and >access it view >> a UNC path (e.g. //server/share/path/file). > > > >__________________________________ >Do you Yahoo!? >Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes >http://hotjobs.sweepstakes.yahoo.com/signingbonus > >-- >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/ -- 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/