delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/30/09:35:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49F9A90B.30807@gmail.com>
Date: Thu, 30 Apr 2009 14:35:07 +0100
From: Darren Syzling <dsyzling AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: cygwin mailing list <cygwin AT cygwin DOT com>
Subject: Cygwin 1.7 ACLs
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

I'm trying cygwin 1.7 for the first time. I have an existing subversion 
area created with a windows version of subversion. I used patch to apply 
a diff to an individual file. Before the patch the file permissions were 
inheriting from it's parent - which included the Users group, 
Administrators, my own local id and SYSTEM.

After the patch had been written the perms changed to my local id, None 
and Everyone - none of these were inherited. However this caused an 
issue, the file itself was a CSS file and the Users group perms were 
granting the IIS anon user the ability to read the static file. So the 
first thing that failed was that IIS could no longer read the file and 
subtle formatting issues occured on my dev web site.

I've had other issues as well where some edtitors can no longer write to 
files after trying to reapply Users (using windows explorer) 
permissions. In this case the Users permission were applied but my local 
id lost all of it's permissions because they were prevously inherited. 
When applying the Users permission I had to make sure that the correct 
perms were also re-checked for my local id.

This is on a Windows XP machine at the moment. Incidently although the 
first situation above was using cygwin tools on an area created by 
Windows tools I have also used git and git-svn to create a new source 
area with cygwin and this also demonstrated some subtle issues with ACLs.

I'm just wondering how other people cope with these issues?


Darren

--
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