Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

bug(mac): cortexcpp folder installs with wrong permissions #1274

@freelerobot

Description

@freelerobot

OS: MacOS

To Repro

  1. Use macos installer
  2. View cortexcpp-nightly folder > Get Info
  3. Permissions are wrong:
image

It should be:
image
Where root user or admin has read & write

Problem

This causes many downstream issues:

❌ Users have to do sudo for all commands, really annoying
❌ All chained commands will fail
sudo cortex run ... still encounters permission denied issue
e.g.

> sudo cortex-nightly run mistral

Starting server ...
20240919 15:54:32.723277 UTC 33913 INFO  Host: 127.0.0.1 Port: 3928
 - main.cc:32

Error opening file: Permission denied

Server started

Error opening file: Permission denied

Model loaded!
Inorder to exit, type `exit()`

Questions

  • How to resolve this?
  • Is this happening on Windows/Linux? I haven't gotten a chance to verify

Metadata

Metadata

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions