#12 Existing dockerfile has permission error

closed
  1. @makeworld.space opened

    When trying to run Hydrant through docker:

    2026-05-04T16:59:27.918437Z  INFO fjall::db: Creating database at /data/hydrant.db
    Error:   × FjallError: Io(Os { code: 13, kind: PermissionDenied, message: "Permission
      │ denied" })
      ╰─▶ Permission denied (os error 13)
    

    I think this is because /data is created by root, but the user is set to hydrant. Running chown or not setting USER hydrant should fix this.

  2. @ptr.pet

    i believe this is fixed now

  3. closed this
  4. to comment, sign in