Skip to content

Cannot change data dir location from ~/.fn to somewhere outside of my home folder #671

@pfaion

Description

@pfaion

Hi everyone,

I'm running into an issue when trying to start the fn server. I have manually installed fn by downloading the binary from the GitHub release page and placing it into a local folder that is on my PATH. This works fine:

❯ fn --version
fn version 0.6.26

However, I cannot start the fn server:

❯ fn start --log-level DEBUG
2023/08/07 08:35:20 ¡¡¡ 'fn start' should NOT be used for PRODUCTION !!! see https://github.com/fnproject/fn-helm/
docker: Error response from daemon: error while creating mount source path '/<redacted>/home/pfaion/.fn/iofs': mkdir /<redacted>/home/pfaion/.fn: permission denied.
2023/08/07 08:35:20 Error: processed finished with error exit status 126

I am working on a machine where my home directory is mounted via AFS with Kerberos authentication. I'm not entirely sure, but it might be that whatever happens when I use fn start doesn't have access to my home folder, since it doesn't use Kerberos. I would be fine using a different directory for the fn configuration, outside of my home folder. But I couldn't find an option to configure this.

Is this a known issue and/or do you have any suggestions for how to work around it?

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