delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/12/15:46:18

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <13177791.post@talk.nabble.com>
Date: Fri, 12 Oct 2007 12:45:48 -0700 (PDT)
From: nmehta <nmehta AT cs DOT caltech DOT edu>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin makes shared folders on vista
In-Reply-To: <12429132.post@talk.nabble.com>
MIME-Version: 1.0
X-Nabble-From: nmehta AT cs DOT caltech DOT edu
References: <12429132 DOT post AT talk DOT nabble DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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


jxt wrote:
> 
> If I do a mkdir in a bash shell, it creates a folder that vista thinks is
> shared. Doesn't happen in the normal vista cmd shell. Doesn't happen on
> XP. And turning off sharing in vista takes forever (minutes).
> 
> Worse, if I untar a tgz file, in cmd or bash, it creates a vista shared
> folder. chmod -R doesn't help, and unsharing in vista again takes forever
> and doesn't even unshare all the sub folders and files.
> 
> Has anyone else seen this behavior? Any idea how to fix it? Could my
> cygwin installation be bad?
> 
> Thanks.
> 

I see the exact same behavior on every Cygwin/Vista installation I've done. 
This also happens when you create a file in Cygwin (just touch a file to
test it).  I can only presume that there is something fundamentally wrong
about how Cygwin creates ACLs (Access Control Lists, the Windows version of
permissions) when you create files or folders on Vista.

Comparing a file touched in Cygwin vs a file created in Vista, the ACLs look
different (Cygwin has 'Everyone' while Vista has 'SYSTEM', and Cygwin has
'Users' while Vista has the actual group you are in, or in this case
'Administrators').  If you remove the permissions on 'Users' the icon will
go away.  It looks like the fundamental problem is that Cygwin is not
creating files/folders with the correct group permissions for Vista?

Wondering if any of the devs have a comment on this (Or have they seen this
effect in Vista?  Can't miss it if you've installed it).
-- 
View this message in context: http://www.nabble.com/cygwin-makes-shared-folders-on-vista-tf4360979.html#a13177791
Sent from the Cygwin Users mailing list archive at Nabble.com.


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