www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/20/08:49:13

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 AT cygwin DOT com>
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 <steve AT holdenweb DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Setting cygwin permissions from Windows programs
References: <do8oog$bds$1 AT sea DOT gmane DOT org>
In-Reply-To: <do8oog$bds$1@sea.gmane.org>
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

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/

- Raw text -


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