alibaba / alibaba/funcraft

fun build 在复制resources下的文件时,文件属性都被改为只读

Open
#629 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
931
Forks
128
PR merge metrics
No merged PRs in 30d

Description

有些文件是可执行文件,需要再函数中调用。
但build过程中丢失了可执行属性,函数中运行时报错:Permission denied.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the resource-copying path used by `fun build` and reproduce the loss of executable permissions on files under `resources`. Done means executable files retain their permissions after the build and can run in the function without a `Permission denied` error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.