This is the mail archive of the
mailing list for the Cygwin project.
Re: Setting cygwin permissions from Windows programs
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: Steve Holden <steve at holdenweb dot com>
- Cc: cygwin at cygwin dot com
- Date: Tue, 20 Dec 2005 08:48:57 -0500
- Subject: Re: Setting cygwin permissions from Windows programs
- References: <firstname.lastname@example.org>
- Reply-to: 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