Sandbox SDK adds file permission control
Mirrored from Vercel — AI for archival readability. Support the source by reading on the original site.
Vercel Sandbox SDK 1.9.0 now supports setting file permissions directly when writing files.
By passing a mode property to the writeFiles API, you can define permissions in a single operation.
This eliminates the need for an additional chmod execution round-trip when creating executable scripts or managing access rights inside the sandbox.
See the documentation to learn more.
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.