.next folder has different permissions
See original GitHub issueBug report
Describe the bug
I recently tried to deploy my app and I got the following error:
Job (5e587331-2109-4f29-9dce-fd9c04dc7ad4) failed: The resource file mode is invalid: File mode '444' with path 'src/app/.next/cache/next-minifier/content-v2/sha512/03/99/058bf0c2f83e61887f99071b683c9dbf8893869857e5744d63f04e9a2b8ae60d9e4f3db9e8797107fbe65d0e091081c1e0ade397ab550674e126c7cb7be1' is invalid. Minimum file mode is '060'
I believe the file permissions for the .next folder have recently changed, not allowing me to deploy my app.
To Reproduce
- Create and build a next app
- Look at the permissions for the .next folder.
- The file permissions should be different from next version 9.3.5
Expected behavior
I would expect the file permissions to allow me to deploy my app.
System information
- OS: macOS Catalina 10.15.4
- Version of Next.js: 9.3.6
- Version of Node.js: 12.16.1
Additional context
I recently updated next to 9.4.4, and this is how I found this bug. I downgraded next until I found a version that I could deploy with, which was 9.3.5.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Change the permissions on a subfolder - Microsoft Support
Next to the subfolder name, click the Ellipsis… On the file popup window, click Share. On the Share dialog box, click Shared with,...
Read more >SharePoint Folder Permissions with Power Automate - YouTube
In this demo I show you how to set custom permissions on folders in SharePoint using Power Automate. You might want to do...
Read more >How to create unique permissions for a folder in SharePoint
For example, you want to hide (prevent other Site Users from seeing or accessing) the folder. More tricks on unique security and permissions...
Read more >Fix “You Don't Currently Have Permission to Access This ...
Fix “You Don't Currently Have Permission to Access This Folder ” ... that were previously shared on the network with different rights.
Read more >How to Manage Permissions on Shared OneDrive Folders
Once these folders have been created you can give permission to the right users for each folder. This ensures each person has access...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just tested it out and not uploading
.next/cache
to cloud foundry fixed the issue. Thank you for your help!This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.