~adnano/kiln-discuss

2 2

static cgi-bin script loose executable permission

Details
Message ID
<2YWWQ0A14JY8M.25O94MPA9ZXX6@stacyharper.net>
DKIM signature
pass
Download raw message
Hello there,

I'm using kiln to build my capsule. I discovered my builded cgi-bin/
scripts loose their executable permission in the process.

Is is something expected ? Is it known ?

Thanks a lot,
Staceee
Details
Message ID
<CETFEVDQGS9Y.PMK5E7L4WO2V@nitro>
In-Reply-To
<2YWWQ0A14JY8M.25O94MPA9ZXX6@stacyharper.net> (view parent)
DKIM signature
pass
Download raw message
On Thu Oct 7, 2021 at 2:13 PM EDT, Stacy Harper wrote:
> Hello there,
>
> I'm using kiln to build my capsule. I discovered my builded cgi-bin/
> scripts loose their executable permission in the process.
>
> Is is something expected ? Is it known ?
>
> Thanks a lot,
> Staceee

This is because all files in the static/ directory are copied to the
public directory with default permissions. I'm open to copying the
permission bits over as well.

Note that the master version of kiln has a few breaking changes, so you
might want to stick with manually copying for now until it is
stabilized.
Details
Message ID
<33XCK96KN7TGE.3OPP7ECNRG2A3@stacyharper.net>
In-Reply-To
<CETFEVDQGS9Y.PMK5E7L4WO2V@nitro> (view parent)
DKIM signature
pass
Download raw message
> This is because all files in the static/ directory are copied to the
> public directory with default permissions. I'm open to copying the
> permission bits over as well.

Yeah that could be nice if static files keep their existing permissions.
I think that default perms are good for the generated content.

> Note that the master version of kiln has a few breaking changes, so you
> might want to stick with manually copying for now until it is
> stabilized.

I just have a look at recents commits and that feels nice. Some
confusing config has been simplified and are now more explicit.

I'll adapt my capsule when this will be released np :D Btw, the new
tutorial website looks really nice. I wish I had this when I firstly
configured kiln for my capsule xD Trying desesperatly to mimic your own.
Reply to thread Export thread (mbox)