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-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.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 <steve@holdenweb.com>
CC: cygwin@cygwin.com
Subject: Re: Setting cygwin permissions from Windows programs
References: <do8oog$bds$1@sea.gmane.org>
In-Reply-To: <do8oog$bds$1@sea.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

