This is the mail archive of the cygwin 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]

Re: question on Cygwin's version of make


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@freemail.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@freemail.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


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