delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/04/11:45:44

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <472DF735.1010806@nc.rr.com>
Date: Sun, 04 Nov 2007 11:45:41 -0500
From: Joe Krahn <jkrahn AT nc DOT rr DOT com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: File permission hassles on Vista
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 have been running Cygwin on Vista. The way that file attributes are 
handled are causing problems. Cygwin appears to add attributes for 
'Everyone' and a 'None' user to handle world and group POSIX attributes. 
On Vista, these attributes give the file a 'shared' property, which adds 
a shared file overlay on the GUI icons. If you try to manipulate files 
from the Windows GUI, things become VERY slow. It can take minutes just 
to move just a few files. It seems that the system is trying to keep 
track of shared files, and gets confused about files made shared by 
Cygwin. Maybe it is the indexing service?

I am guessing that Cygwin developers just are not using Vista yet, 
because I have seen very little discussion of this problem. Until this 
problem is resolved, an easy fix might be to avoid adding the extra 
attributes groups as long as they have no permissions. A Vista user can 
set umask to 077, and avoid making those attribute groups.

Another quick work-around would be to have a command-line tool to strip 
out the extra permission attributes. Is there a tool in cygwin that can 
manipulate win32 file attributes? I thought maybe 'chatter' would do it, 
but those attributes are apparently independent of Win32 attributes. If 
Cygwin doesn't have anything like this, I think it would be a good Win32 
utility to include (i.e. sort of like regtool).

Thanks,
Joe Krahn

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