X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=3.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,TW_RW,TW_WX X-Spam-Check-By: sourceware.org Date: Fri, 2 Mar 2012 16:17:41 +0400 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <1165460222.20120302161741@mtu-net.ru> To: Paul Allen Newell , cygwin AT cygwin DOT com Subject: Re: question on Cygwin's version of make In-Reply-To: <4F501DBD.8070407@cs.cmu.edu> References: <4F4F21AC DOT 7060209 AT cs DOT cmu DOT edu> <4F4F2877 DOT 4080006 AT cs DOT cmu DOT edu> <166537037 DOT 20120302025849 AT mtu-net DOT ru> <4F501DBD DOT 8070407 AT cs DOT cmu DOT edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Greetings, Paul Allen Newell! >>> have a script to get rid of everything being an executable. >> Does >> chmod -x,+X -R /path/... >> warrant a script? >> >> >> -- >> WBR, >> Andrey Repin (anrdaemon AT freemail DOT ru) 02.03.2012,<02:58> >> >> Sorry for my terrible english... >> >> > Andrey: > Thanks for the reply. In my case, it is very warranted as not everything > wants to be made an executable. Plus it allows me to deal with ugo > permissions. If "not everything" is really "everything not", then $ ls -l Programs/PuTTY/ total 4 -rwxr----- 1 anrdaemon anrdaemon 899 2011-03-14 19:49 PuTTY-Settings.reg $ chmod -x,+X -R Programs $ ls -l Programs/PuTTY/ total 4 -rw-r----- 1 anrdaemon anrdaemon 899 2011-03-14 19:49 PuTTY-Settings.reg And ugo is dealt with through right umask. Which, in my case, is 0027 However, if your regular umask is different, you do need to use a script. -- WBR, Andrey Repin (anrdaemon AT freemail DOT ru) 02.03.2012, <16:11> Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple