delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/02/19:32:38

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Mime-Version: 1.0
X-Sender: rschulz AT pop DOT teknowledge DOT com
Message-Id: <p04320400b5d73cc8a676@[206.173.234.217]>
In-Reply-To: <20000902230156.CHCZ24872.mta01.onebox.com@onebox.com>
References: <20000902230156 DOT CHCZ24872 DOT mta01 DOT onebox DOT com AT onebox DOT com>
Date: Sat, 2 Sep 2000 16:31:00 -0700
To: "Winbox X" <winbox AT onebox DOT com>, <cygwin AT sources DOT redhat DOT com>
From: Randall R Schulz <rschulz AT teknowledge DOT com>
Subject: Re: chmod does not work as expected
X-MDaemon-Deliver-To: cygwin AT sources DOT redhat DOT com
X-Return-Path: rschulz AT teknowledge DOT com

Mike,

I'm not an authority, but I'll give a guess / hunch. I'm only giving 
non-authoritative information because it's a weekend (and a 3-day one 
in the U.S.) and I thought that would be better than waiting for 
something more authoritative.

I think the issue here is that Cygwin does not maintain parallel data 
structures, and hence cannot truly record modes that are not native 
to the file system you're using. If that file systems is a FAT file 
system, then I believe the "permissions" are simple read-only / 
read-write. I know NTFS has a sophisticated permissions scheme with 
owners, users and groups and perhaps on an NTFS volume Cygwin will 
implement read / write for owners, group and others (there's still no 
execute bit--that one is synthesized by Cygwin based on the file name 
extension or the presence of a #!interpreterName line at the very 
beginning of the file).

I'm pretty sure this is a reasonable approximation of the issue 
you're seeing. I'm even more sure that someone will correct me and / 
or complete this picture shortly...

Randall Schulz
Teknowledge Corp.
Palo Alto, CA USA
+

At 16:01 -0700 9/2/00, Winbox X wrote:
>I wonder if someone noticed this. After I chmod of a file
>a 'ls -l' tell me nothing is changed for the mod of the Group and Others.
>
>-Mike



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019