Skip to content

fix(install): owner-only OpenKnowledge workspace and WSL browser open - #66

Closed
tomvaillant wants to merge 1 commit into
mainfrom
fix/install-ok-workspace-perms
Closed

fix(install): owner-only OpenKnowledge workspace and WSL browser open#66
tomvaillant wants to merge 1 commit into
mainfrom
fix/install-ok-workspace-perms

Conversation

@tomvaillant

Copy link
Copy Markdown
Contributor

Summary

  • Pre-create .knowledge-workspace at mode 0700 before ok init, and chmod a pre-existing 0755 directory in init-local, so macOS umask no longer trips OpenKnowledge's owner-only check.
  • Run ok init non-interactively (--json --no-skills --scope project) so the installer cannot stall on the editor/skills prompt.
  • Open the localhost configurator with wslview or Windows cmd.exe on WSL instead of xdg-open/gio.

Test plan

  • python3 tests/configurator-server-check.py
  • python3 tests/knowledge-destination-check.py
  • bash tests/install-spotlight-check.sh
  • python3 tests/plugin-distribution-check.py
  • Re-run curl -fsSL https://spotlight.buriedsignals.com/install-spotlight.sh | bash on the Mac that failed with database directory permissions must be owner-only

…owsers

ok init aborted on macOS because mkdir -p left .knowledge-workspace at 0755, and the same run could stall on an interactive editor prompt. Create the directory at 0700 first, run init non-interactively, and open the configurator via wslview or Windows cmd.exe on WSL.
tomvaillant added a commit that referenced this pull request Aug 25, 2026
Land the remaining PR #66 changes: chmod pre-existing database dirs in
init-local, open the configurator via wslview or Windows cmd.exe on WSL,
and add regression coverage. The installer-side chmod/init flags were
already on main.
@tomvaillant

Copy link
Copy Markdown
Contributor Author

Merged on main. The installer chmod/non-interactive ok init path was already on main; cf9c166 adds the WSL configurator browser opener, init-local 0700 repair, and regression tests.

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

Successfully merging this pull request may close these issues.

1 participant