You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, in the step code, only func is set to executable (Tasks/FuncToolsInstallerV0/src/utils.ts:78). This makes some func actions (like func azure publish) fail with error Permission denied. Running chmod manually in shell step fixes the problem.
I guess adding something like fs.chmodSync(path.join(cachedToolpath, 'gozip' + getExecutableExtension()), '777') should fix it.
Error logs
/usr/bin/az account set --subscription 7ac581cd-b855-4438-953c-a5d6636ae0c8
/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command . '/home/vsts/work/_temp/azureclitaskscript1612512696662.ps1'
Getting site publishing info...
Creating archive for current directory...
Performing remote build for functions project.
Permission denied
The text was updated successfully, but these errors were encountered:
Required Information
Question, Bug, or Feature?
Type: Bug
Enter Task Name:
FuncToolsInstaller
Environment
ubuntu-latest
Issue Description
According to Azure Functions Core Tools manuall installation instruction (https://github.com/Azure/azure-functions-core-tools) to install it, you have to run following command:
However, in the step code, only
func
is set to executable (Tasks/FuncToolsInstallerV0/src/utils.ts:78). This makes some func actions (likefunc azure publish
) fail with errorPermission denied
. Running chmod manually in shell step fixes the problem.I guess adding something like
fs.chmodSync(path.join(cachedToolpath, 'gozip' + getExecutableExtension()), '777')
should fix it.Error logs
The text was updated successfully, but these errors were encountered: