This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: Make executable scripts executable


Jeffrey A Law wrote:
>   > This would add "chmod a+x" functionality to the touch
>   > function.  OK to apply?
> It shouldn't be necessary.  I thought CVS was supposed to preserve
> permissions -- in which case the right fix is to identify the files
> and have someone chmod +x them in the CVS repo itself.

Yep, it shouldn't be necessary:

Marco Franzen wrote:
[[...]]
> cd . ; ./genfixes fixincl.sh
> /bin/sh: ./genfixes: Execute permission denied.
> gmake[3]: *** [fixincl.sh] Error 126
[[...]]
> [The missing execution permission is probably a result of doing the anonymous
> cvs on a WhimDoze box (which I don't control). My preferred Un*x boxes have no
> connection to the public internet other than via a mail (store-and-forward)
> gateway.]
> 
> Cheers,
> 
> -- Marco

but it shouldn't hurt, either.

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