chmod

Andrei Cernea <[email protected]>
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <880E371DA312D6119BFD00B0D02090C4496CA1@dinobot>
Hi!

I am using Cygwin 2.05. I am emailing you because of this:

============================================
> chmod --help
Usage: chmod [OPTION]... MODE[,MODE]... FILE...
  or:  chmod [OPTION]... OCTAL-MODE FILE...
  or:  chmod [OPTION]... --reference=RFILE FILE...
Change the mode of each FILE to MODE.
...

Each MODE is one or more of the letters ugoa, one of the symbols +-= and
one or more of the letters rwxXstugo.

Report bugs to <[email protected]>.
============================================

I noticed that in order for a file to have x rights on windows it needs to
have executable extension. That is, if I have a script file with no
extension and x permissions on Unix, I don't see the x on windows. However,
if I copy the same file to a *.bat the x will show up without having to call
chmod a+x ...

Is this a bug, feature, as intended? Do I have to have executable
terminations for all files that I want to execute in windows?
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.