delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/12/20:41:14

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
Message-ID: <416C7A02.EC23BAA9@dessent.net>
Date: Tue, 12 Oct 2004 17:42:42 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Bash: when is WinXP not WinXP??
References: <Xns958070E64AD1Adancarddupercom AT 80 DOT 91 DOT 229 DOT 5>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Daniel Miller wrote:

> I've already had *one* problem to solve under Home, for some reason
> Executable flags are not set on files that I copy over the network; I
> didn't even know Windows *had* executable flags, but I'd copy console
> utilities which worked fine under XPPro (in both Bash and 4NT), but when I
> copied them to XPHome and tried to run them, I'd get "access denied".  I
> ran 'chmod 777' on these files and they all worked fine after that.
> 
> I should note that my current problem only occurs with Bash, not with
> 4NT...

One of the things that MS removed from XP in creating the Home version
was the ability to modify file ACLs.  The "security" properties tab that
is normally used is absent.  I don't know if Windows uses some set of
default/immutable ACLs under-the-hood, or if they simply removed the
ability to query and set them from the front-end but left the underlying
ACL machinery.  I suspect the latter.  In that case, when you copy files
via native windows methods, who knows what the ACL gets set to, since
that version of Windows ostensibly does not support that feature at
all.  Apparently since chmod and getfacl/setfacl still work then the low
level API has not been disabled, but I suspect there are still some
gotchas that will result from this.

Brian

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