delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/09/12:14:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: <3E1DADA3.4E9D1389@ieee.org>
Date: Thu, 09 Jan 2003 12:13:07 -0500
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
X-Accept-Language: en
MIME-Version: 1.0
To: "Dr. Andrew Mayer" <mayer AT eecs DOT berkeley DOT edu>, cygwin AT cygwin DOT com
Subject: Re: Bash appears to have changed...
References: <000001c2b7ff$f483b150$4900a8c0 AT leverage>

Thanks a lot Andrew, that's exactly what I needed. 

The changes I am contemplating will fix the problem 
in your situation.

FYI, it looks like you must be in the Administrators group 
to run chmod -R and fix the permission display, but you already
have at least Windows RX permissions on the files (although 
Cygwin doesn't know it).

Pierre
  

"Dr. Andrew Mayer" wrote:
> 
> Hi Pierre,
> 
> cacls is a new command to me.  Please let me know if this is not what you
> wanted.
> 
> Thanks,
> Andrew
> 
> ---
> 
> LEVERAGE 54$ pwd
> /cygdrive/f/Unix/cygwin
> LEVERAGE 55$ ls
> ./  ../  bin/  cygwin.bat  cygwin.ico  etc/  home/  lib/  tmp/  usr/  var/
> LEVERAGE 56$ cd ..
> LEVERAGE 57$ cacls cygwin
> f:\Unix\cygwin BUILTIN\Administrators:(OI)(CI)F
>                NT AUTHORITY\SYSTEM:(OI)(CI)F
>                BUILTIN\Users:(CI)(special access:)
>                                  SYNCHRONIZE
>                                  FILE_APPEND_DATA
> 
>                BUILTIN\Users:(CI)(special access:)
>                                  SYNCHRONIZE
>                                  FILE_WRITE_DATA
> 
>                BUILTIN\Users:(OI)(CI)R
> 
>         On Wed, Jan 08, 2003 at 10:00:28PM -0800, Andrew Mayer wrote:
>         > However, the default file permissions just seem wrong.  Here's a
> sample, the
>         > full ls -lR is too big to post but looks about the same.
>         >
>         > .:
>         > total 2
>         > d---------+   9 mayer    None            0 Jan  8 21:01 ./
>         > d---------+   9 mayer    None            0 Jan  8 21:01 ../
> 
>         That's a problem mapping ACL to permissions. You can see the truth
>         with cacls and perhaps change the permissions with chmod -R.
>         Coincidentally there is a coming change to Cygwin that will help,
>         and I am working on a small fix for setup as well.
>         Could you send the output of cacls for the cygwin root?
>         That will allow me to see if the coming changes will help here.
> 
>         Pierre

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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