question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Directory permissions for releases post 4.0 release

See original GitHub issue

Using version ^4 my release directory looks like this drwx------ 8 deploy deploy 4096 Apr 15 17:39 20180415052742/

Using version ^1 my release directory looks like this. drwxrwxr-x 8 deploy deploy 4096 Apr 15 17:57 20180415054603/

This breaks things for me where I have a www-data user reading from releases, post version 4 it can’t get to my release directories at all. Is there a workaround for this ?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
silentworkscommented, May 14, 2018

Yeah I am experiencing this same issue, I just create an extra task to change the permission based on the published event being fired.

shipit.on('published', async () => {
  shipit.log(chalk.green('Changing directory permissions.'))
  await shipit.remote(`chmod +x ${shipit.releasePath};`);
  shipit.log(chalk.green('Permissions changed'))
})
1reaction
gregbergecommented, Apr 16, 2018

OK, I don’t know what could be the problem, could you try to investigate?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Releases - GitLab Docs
To view a list of releases: ... For more information, read Release permissions. ... To edit the details of a release after it's...
Read more >
What permissions does GITHUB_TOKEN require for releases ...
To allow your GitHub Action creating a draft release, you will have to grant your GITHUB_TOKEN access to POST /repos/:owner/:repo/releases ...
Read more >
Solved: Jira - Permissions for Release - Atlassian Community
I want to set a permission to a build group that is separate from the administrator of the project. This is an audit...
Read more >
Releases - GitHub Docs
The Releases API allows you to create, modify, and delete releases and release assets.
Read more >
Azure AD Connect: Version release history - Microsoft Entra
This article lists all releases of Azure AD Connect and Azure AD Sync. ... We added the Replicating Directory Changes permission in the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found