#Image permission is 600 from 3.3.1

5 messages · Page 1 of 1 (latest)

gray glacier
#

I upgraded Astro from version 3.2.4 to 3.4.0 on Rocky Linux9.
And performed a build, but I noticed that one of the image files generated by the build command has its permission set to 600.
This issue didn't occur in versions 3.2.4 and 3.3.0, but I've observed it happening from version 3.3.1 ~ 3.4.0(latest).

Is there a way to fix this?
(I'm unable to determine the exact steps to reproduce this issue.)

hearty lindenBOT
#
No-one around right now?

It looks like no-one has responded to your question yet. People might not be available right now or don’t know how to answer your question. Want an answer while you wait? Try asking our experimental bot in #1095492539085230272.

brisk granite
#

Does this happen for that same image every time?

gray glacier
#

Yes, upgrading to Astro 3.4.2 still results in the same issue with that specific image.

I'm using images in this:

<div>
  <figure>
    <Image
      src={import("@images/mainImg_01.svg")}
      alt="image1"
      loading="eager"
    />
  </figure>
</div>
<div>
  <figure>
    <Image
      src={import("@images/mainImg_02.svg")}
      alt="image2"
      loading="eager"
    />
  </figure>
</div>
<div>
  <figure>
    <Image
      src={import("@images/mainImg_03.svg")}
      alt="image3"
      loading="eager"
    />
  </figure>
</div>
<div>
  <figure>
    <Image
      src={import("@images/mainImg_04.svg")}
      alt="image4"
      loading="eager"
    />
  </figure>
</div>
brisk granite
#

Is the final permission being inherited from the source image? If not try changing the filename and see if that changes anything