Avoiding /etc/passwd and /etc/group scans

Christopher Faylor cgf@redhat.com
Tue Oct 22 14:31:00 GMT 2002


On Tue, Oct 22, 2002 at 05:31:48PM -0400, Pierre A. Humblet wrote:
>Christopher Faylor wrote:
>
>> Argh.  I'd like cygwin to be always able to execute a file with an .exe
>> extension. 
>
>Who gets the x right? Everyone? 

Anyone who can read the file.

>> I don't suppose there is any way to do that short of essentially
>> doing a chmod +x on the file, right?
>
>Right.
>
>About the shell scripts, I will look at you patch tonight.
>Why do you want to be different from regular Unix and report x
>just because the file starts with #! ?
>Why not force the user to chmod +x the scripts, for them to be
>executable?

I am just trying to minimize the impact on users.  For purity sake,
I'd rather leave things as they were, actually.

cgf



More information about the Cygwin-developers mailing list