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 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: <43A80BC9 DOT 2060908 AT cygwin DOT com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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/