Skip to main content

File locations on macOS

This page lists every file and directory the macOS installer creates, for users who want to audit the installation or locate specific files.

Directories created by the installer​

FolderPurposeOwnerPermissionsNotes
/Library/Application Support/GnosisVPN/Service working directoryroot:wheel0755Helper scripts, installer/ network choice, updater state
/Library/Logs/GnosisVPN/Service log directoryroot:wheel0755gnosisvpn.log (service log) and updates.log (updater); rotated via newsyslog
/Library/Logs/GnosisVPN/installer/Installer log directoryroot:wheel0755installer.log, preinstall.log, postinstall.log, migrate.log
/etc/gnosisvpn/Configuration directoryroot:wheel0755Network configs and the config.toml symlink
/etc/gnosisvpn/templates/Network config templatesroot:wheel0755One <network>.toml.template per shipped network
  • After an upgrade from a single-user release, /Library/Application Support/GnosisVPN/ keeps the previous identity as .config.migrated-<timestamp> (or .config.<timestamp>.bak after a reset), root 0700.
  • /etc is a symlink to /private/etc on macOS.

Key files placed into existing system directories​

PathPurposeNotes
/usr/local/bin/gnosis_vpn-rootMain VPN daemon binaryroot:wheel, 0750
/usr/local/bin/gnosis_vpn-workerWorker process binaryroot:wheel, 0755
/usr/local/bin/gnosis_vpn-ctlCLI control toolroot:wheel, 0755
/usr/local/bin/gnosis_vpn-updateUpdaterroot:wheel, 0755
/usr/local/bin/gnosis_vpn-migrateIdentity migration toolroot:wheel, 0755; migrates and resets identities
/usr/local/bin/gnosis_vpn-managerManagement utility scriptroot:wheel, 0755
/Library/LaunchDaemons/com.gnosisvpn.gnosisvpnclient.plistLaunchDaemon service definitionLoaded and enabled at boot, runs as root
/etc/newsyslog.d/gnosisvpn.confLog rotation policygnosisvpn.log at 1 GB, 12 rotations
/etc/sudoers.d/gnosis-vpnSudoers drop-in for service controlPasswordless service control for the gnosisvpn group; 0440
/etc/gnosisvpn/config.tomlSymlink to active network configPoints to <network>.toml for the network chosen at install
/Applications/Gnosis VPN.appGUI application bundleExtracted from archive during postinstall; root:admin, 0755
/var/run/gnosisvpn.sockControl socketCreated by the daemon at startup
/var/run/gnosisvpn.pidDaemon PID fileWritten by the daemon at startup
/var/run/gnosisvpn/Runtime directorydaemon.lock and teardown-state.json
  • The sudoers drop-in lets the gnosisvpn group run specific launchctl and gnosis_vpn-update commands without a password. The installer adds the console user to the group.

Per-user files​

The worker runs as the user who starts the client, so each user has their own identity, one per network. <network> is the network folder the client creates.

PathContentPermissions
~/Library/Application Support/GnosisVPN/networks/<network>/Identity: hopr.id and hopr.passDirectories 0700, files 0600
~/Library/Caches/GnosisVPN/networks/<network>/Safe: hopr.safeDirectories 0700, files 0600
~/Library/Logs/GnosisVPN/Worker log worker.log.YYYY-MM-DD, the last 7 kept0700
~/Library/Application Support/com.gnosisvpn.gnosisvpnclient/App settings, settings.json
~/Library/Logs/com.gnosisvpn.gnosisvpnclient/App logs, gnosis_vpn-app.<date>.log

Uninstalling​

The uninstall script removes the binaries, the launchd plists, /etc/gnosisvpn (backed up to ~/gnosis-vpn-config-backup-<timestamp> first), /Library/Logs/GnosisVPN, the sudoers file, the gnosisvpn group and the app bundle.

It keeps /Library/Application Support/GnosisVPN and every user's files under ~/Library.