X-Spam-Check-By: sourceware.org Message-ID: <43A80BC9.2060908@cygwin.com> Date: Tue, 20 Dec 2005 08:48:57 -0500 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.3.0 MIME-Version: 1.0 To: Steve Holden CC: cygwin AT cygwin DOT com Subject: Re: Setting cygwin permissions from Windows programs References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Steve Holden wrote: > I am writing a Python program to generate file trees to be distributed > to a Linus machine using Cygwin's scp. As the GUI to this program uses > wxPython, a native Windows approach is the most straightforward. > > Is there any way to set permissions on the output files from the Windows > side that will result in predictable permissions when the output tree is > viewed from Cygwin? > > A Python recipe would be useful, but I'll take what I can get! Have you checked what the permissions on a file you created by Windows looks like under Cygwin and seen some problem? If so, please post the details and perhaps someone can help. Otherwise, I'd suggest just doing the above and working with the result unless you see problems. In general, unless you've done something to restrict access in Windows, Cygwin can see and interact with "natively created" files just fine. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/