On Jun 22 22:06, Christian Franke wrote:
> Corinna Vinschen wrote:
>
>> So I created a list of packages which install scripts into
>> /etc/preremove, /etc/postinstall, and /usr/bin without setting execute
>> permissions on them. Please guys, fix the permissions ASAP.
>>
>> [...]
>> Christian Frank
Corinna Vinschen wrote:
So I created a list of packages which install scripts into
/etc/preremove, /etc/postinstall, and /usr/bin without setting execute
permissions on them. Please guys, fix the permissions ASAP.
[...]
Christian Franke:
ddrescue: etc/postinstall/ddrescu
Eric Blake wrote:
> Indeed - changing things to be 'bash script' instead of the current 'bash -c
> script' would make the use of alternative interpreters harder. But it does
> not
> make it impossible; you can always do:
>
> #!/bin/sh
> /bin/awk <<\EOF
> ...
> EOF
>
> instead of
>
> #!/bin/
On Jun 22 16:09, Corinna Vinschen wrote:
> On Jun 22 13:58, Eric Blake wrote:
> > For that matter, are there any postinstall scripts currently relying on a
> > different interpreter? If not, then I'm in favor of the idea of changing
> > setup.exe to be immune to the execute bit on postinstall sc
On Jun 22 13:58, Eric Blake wrote:
> Corinna Vinschen cygwin.com> writes:
>
> > > Why don't we just remove the "-c" and get setup.exe to use the
> simple "bash
> > > " syntax meaning "treat as a text file, open it and
> pipe
> > > it to stdin"?
> >
> > I already suggested this on the cygwin
Corinna Vinschen cygwin.com> writes:
> > Why don't we just remove the "-c" and get setup.exe to use the
simple "bash
> > " syntax meaning "treat as a text file, open it and
pipe
> > it to stdin"?
>
> I already suggested this on the cygwin-developers ML back in May (*)
> but it was not discu
On Jun 22 14:38, Dave Korn wrote:
> Corinna Vinschen wrote:
> > Hi,
> >
> >
> > Here's the problem: If you exec shell scripts, they should only be run
> > if the user trying to run the script has execute permissions on the
> > script.
>
> Shell scripts don't _have_ to be executable, only if
Corinna Vinschen wrote:
> Hi,
>
>
> Here's the problem: If you exec shell scripts, they should only be run
> if the user trying to run the script has execute permissions on the
> script.
Shell scripts don't _have_ to be executable, only if you want to launch one
as if it were a command, rat
8 matches
Mail list logo