This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Suddenly, all file have executable attribute bits set!


Hello all,

I've been happily using and programming under Cygwin
for a couple of months.  I suddenly noticed today
that a bug has creeped up in my installation.

I'm writing here in the hopes that something is
configured wrong / Windows is misbehaving.  And
that it can therefore be fixed.

The bug is that all files show up as executable!
If I ls -F, everything has a * after it (unless it
is a directory or a symlink).  Similarly, if I
ls -l, all regular file permissions are -rwxrwxrwx!!!
E.g.
% ls -F code/hello
Makefile*   hello.c*   hello.exe*   hello.o

(I just noticed, oddly enough that hello.o correctly
has -rw-rw-rw permissions!  Looking around my system,
most files don't, e.g. link.url*, song.mp3*, all
executable!  Here is an oddity: it appears that
something in the past has set all files to 'x'
attributes, but if I create a new text file, it
is correct.  Hmmm....this is at least good news.)

The file permissions appear to affect everything,
obviously ls above, but also bash's file completion
(which is _really_ annoying).  I think it has just
started happening, but obviously, I can't be
absolutely sure.

The only recent changes on my machine:
   Updated my cygwin packages and installed:
      inetutils, nano, ghostscript, enscript, wget
   Installed M$ Visual Studio.net

Does anyone have an idea what could be causing this/
what approaches I should take to debug it?

I'm not actually subscribed to this maillist, so
although I will be checking the archives, I'd
appreciate cc:'s to this address.

Thanks for any help in solving this mystery,
James Shaw
qumqam@yahoo.com

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]