Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running a fresh node launchpad as root fails to run nodes; permission denied #2584

Open
harismuzaffer opened this issue Dec 31, 2024 · 0 comments

Comments

@harismuzaffer
Copy link
Contributor

When a newly installed launchpad is run as root, it defaults to storage_mountpoint as None. When get_launchpad_nodes_data_dir_path gets called, we are passing get_default_mount_point to it which returns / on linux and the fn get_launchpad_nodes_data_dir_path returns /root/.local/share as the base dir.

The directory /root/.local/share is not accessible by the user ant(the user against which antnode service is run). This results in permission denied in /var/log/syslog, this error is not seen in launchpad logs anywhere

I was wondering, how would node launchpad work with root earlier?

I am trying to fix this through a PR, but i have few basic questions:

  • i found references to /var/antctl/services - should this be the default data dir for nodes in the absence of a custom path?
  • what would be its equivalent on windows platform?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant