delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/12/13:12:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <377225.58673.qm@web65414.mail.ac4.yahoo.com>
Date: Thu, 12 Nov 2009 10:12:18 -0800 (PST)
From: Eric Benson <eric_a_benson AT yahoo DOT com>
Subject: 1.7 file permissions changes
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

I have a batch of Unix-based Perl scripts that I use for CD ripping. They use a queue-based approach. One process reads discs, another process encodes and tags them, and a third process uploads them to a file server. I've been running this on Cygwin for several years. I used cdda2wav to read data off the disc, but I switched to Exact Audio Copy on Windows sometime ago. I wrote an AutoIt ( http://www.autoitscript.com/autoit3/ ) script to control Exact Audio Copy. My script creates a directory in a specific place, then reads data off the CD into that directory. The encoding process notices when this directory is ready to be processed, then encodes it into a different directory and removes the incoming directory when it is finished. Recently I installed Windows 7 and Cygwin 1.7 from scratch and rebuilt all of the pieces of my system using the latest versions of all components. The encoder process is now failing because it is unable to remove the directory
 that was created by the Autoit script. The Cygwin process can read files created by the Windows process just fine, but it cannot create new files in that directory, nor can it delete any files or directories created by the Windows process. I have complete control of all directory and file creation on both sides of the Cygwin/Windows divide. Is there something I can do on either side so that the directory I create in Windows (using Autoit's DirCreate function) can be modified and deleted by Cygwin's Unix API?


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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