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]

Re: NTEA extensions for uid/gid


On Mon, Jan 27, 2003 at 02:30:35PM +0100, Ronald Landheer-Cieslak wrote:

> In any case, seeing the behaviour of the exec-permission bits, I have a 
> "wouldn't it be nice if...": wouldn't it be nice if the executable 
> permission bits would actually correspond to the executability
> of a file? I mean, an explorer-created empty file is definitely not
> executable - notably because it's empty.

The following line will remove unnecessary execute permissions on
all files under the pwd, in a cygwintelligent manner

CYGWIN=nontsec find . ! -perm -111 -print0 | env -u CYGWIN xargs -0 chmod a-x

Thanks for your tests, they confirm that Cygwin works as designed.
But we still don't know if the new design solves Christian Mueller's 
problems.

Pierre


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