delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
X-Authenticated: | #1035326 |
Message-ID: | <43A82741.3010602@gmx.de> |
Date: | Tue, 20 Dec 2005 16:46:09 +0100 |
From: | Holger Krull <holger DOT krull AT gmx DOT de> |
User-Agent: | Thunderbird 1.5 (Windows/20051107) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Setting cygwin permissions from Windows programs |
References: | <do8oog$bds$1 AT sea DOT gmane DOT org> <43A80BC9 DOT 2060908 AT cygwin DOT com> <do94mk$kmv$1 AT sea DOT gmane DOT org> |
In-Reply-To: | <do94mk$kmv$1@sea.gmane.org> |
X-Y-GMX-Trusted: | 0 |
X-IsSubscribed: | yes |
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 |
> in Cygwin with permissions of -rwxr--r--, or -rwxr-xr-x for executables > and directories. > > I'm trying to avoid having to use Cygwin utilities to assert Cygwin > permissions, Which would be easier, by the way. > but I am unable to determine the Windows permissions I must > assert when creating the files in order for Cygwin to see those > permissions. Currently a newly created file appears as: > > -rwx------ 1 sholden None 13834 Dec 20 14:26 index.html xcacls index.html /G sholden:F None:EW Everyone:E /Y will give -rwxrw-r-- xacls index.html /G sholden:F None:R Everyone:E /Y will give -rwxr-xr-- R (Read) translate to read and execute. E will give read And check if you use a none english windows because windows translates None and Everyone. (My german windows calls this Kein and Jeder) > This is under Win XP. Are the Cygwin and Windows permissions different > universes that don't interact? As i said before, cygwin only uses windows permissions they can't work around ntfs access rights. You probably get confused by the mapping that has to be done. Take getfacls in cygwin to look at file permission if more acls have been set. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |