@mastra/daytona 0.11.1 → 0.11.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/sandbox/mounts/s3.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -155,7 +155,7 @@ async function mountS3(mountPath, config, ctx) {
|
|
|
155
155
|
const [uid, gid] = idResult.stdout.trim().split("\n");
|
|
156
156
|
const validUidGid = uid && gid && /^\d+$/.test(uid) && /^\d+$/.test(gid);
|
|
157
157
|
if (!validUidGid) logger.warn(`${LOG_PREFIX} Unexpected uid/gid format: "${idResult.stdout.trim()}" — mounted files will be owned by root`);
|
|
158
|
-
const credentialsDirectory = `${s3CredentialsPrefix(mountPath)}${
|
|
158
|
+
const credentialsDirectory = `${s3CredentialsPrefix(mountPath)}${globalThis.crypto.randomUUID()}`;
|
|
159
159
|
const credentialsPath = `${credentialsDirectory}/credentials`;
|
|
160
160
|
await run("sudo chmod a+rw /dev/fuse 2>/dev/null || true; sudo bash -c 'grep -q \"^user_allow_other\" /etc/fuse.conf 2>/dev/null || echo \"user_allow_other\" >> /etc/fuse.conf' 2>/dev/null || true");
|
|
161
161
|
let credentialsCreated = false;
|