Skip to content

Directory permissions issue when running the playground a second time (on Linux) #181

@eureka-igal

Description

@eureka-igal

Hi,

I'm running on NixOS, and I have an issue running the playground the second time - it fails to delete the ~/.playground/devnet directory because the validator.log file is written using the root permissions:

$ ./builder-playground cook l1
2025/07/08 13:20:10 Log level: info
2025/07/08 13:20:10 deleting existing output directory /home/hmemcpy/.playground/devnet
Error: unlinkat /home/hmemcpy/.playground/devnet/data_validator/validators/logs/validator.log: permission denied
Usage:
  playground cook l1 [flags]
...
Image

This also happens if I run reth as native binary using --use-native-reth as well.

Metadata

Metadata

Assignees

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