I've noticed that executables generated by gcc (cygwin 1.3.17-1, gcc 3.2-3, binutils 20021117-1, Windows XP) have Read, Read&Execute and Write permissions for group and others, ls -l shows their attributes as -rwxrwxrwx . It seems rather strange - I guess that Write permission for other users is not necessary. Another oddity is that chmod always toggles Write and Modify permisisons together, while gcc (or ld) sets only Write permission without Modify.
Is this an intended behaviour ? Are there any reasons for it ? -- With regards, Roman. -- 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/