This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: chmod does not work as expected
- To: "Winbox X" <winbox at onebox dot com>, <cygwin at sources dot redhat dot com>
- Subject: Re: chmod does not work as expected
- From: Randall R Schulz <rschulz at teknowledge dot com>
- Date: Sat, 2 Sep 2000 16:31:00 -0700
- References: <20000902230156.CHCZ24872.mta01.onebox.com@onebox.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@sourceware.cygnus.com