This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Setting cygwin permissions from Windows programs

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                    
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]