Skip to content

Does not work w/ installs on multiple user accounts #25

@jasikpark

Description

@jasikpark

Both users on my machine want to write to /tmp/letta-claude-sync/, but it's owned by the first user that set up the subconcious agent. This should be a randomly generated prefix probably.

❯ Hmm why is this happening:

Ran 1 stop hook (ctrl+o to expand)
⎿  Stop hook error: Failed with non-blocking status code: node:fs:2425
return binding.writeFileUtf8(
^

Error: EACCES: permission denied, open '/tmp/letta-claude-sync/send_messages.log'
    at Object.writeFileSync (node:fs:2425:20)
    at Module.appendFileSync (node:fs:2507:6)
    at log (/Users/calebjasik/.claude/plugins/cache/claude-subconscious/claude-subconscious/1.4.1/scripts/send_messages_to_letta.ts:111:6)
    at main (/Users/calebjasik/.claude/plugins/cache/claude-subconscious/claude-subconscious/1.4.1/scripts/send_messages_to_letta.ts:474:3)
    at <anonymous> (/Users/calebjasik/.claude/plugins/cache/claude-subconscious/claude-subconscious/1.4.1/scripts/send_messages_to_letta.ts:608:1)
    at ModuleJob.run (node:internal/modules/esm/module_job:343:25)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:647:26)
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5) {
  errno: -13,
  code: 'EACCES',
  syscall: 'open',
  path: '/tmp/letta-claude-sync/send_messages.log'
}

Node.js v22.18.0

⏺ Read 1 file (ctrl+o to expand)

⏺ The files are owned by XXXX but you're running as a different user (YYYY). The directory was created in a previous session under the other
account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions