Re: chmod broken?

Cesar Strauss <[email protected]>
Newsgroups gmane.comp.gnu.mingw.msys
Message-ID <[email protected]>
Chris Sutcliffe wrote:
> I can't get chmod to work with MSYS 1.0.12:

[...]

> csutclif@EUSH000065 ~
> $ chmod g+w test.txt
> 
> csutclif@EUSH000065 ~
> $ ls -l test.txt
> -rw-r--r-- 1 csutclif Administrators 0 Feb 19 06:33 test.txt

It seems MSYS uses by default the equivalent of Cygwin's "noacl" mount 
option:

* The Access Control List of the file is ignored.
* The read flag is always on.
* The DOS read-only attribute controls the user write flag.
* Files are considered to be executable if the filename ends with .bat, 
.com or .exe, or if its content starts with #!.
* Directories have the execute flags always on.

Regards,
Cesar


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.