You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NixOS apparently defaults to installing to read-only locations even for owners. This breaks std::filesystem::copy in main.cpp.
I'm not sure there is a way to continue using std::filesystem::copy when recursively copying read-only directories. We'll have to migrate to something else instead.
[FRONTEND] [info] Attempting to open "sm3dl.cci" (create=false)
libc++abi: terminating due to uncaught exception of type std::__1::__fs::filesystem::filesystem_error: filesystem error: in create_directory: Permission denied ["/Users/myuser/.local/share/mikage/data/0004009b/00010402"] ["/usr/local/share/mikage/nand/title/0004009b/00010402"]
The text was updated successfully, but these errors were encountered:
NixOS apparently defaults to installing to read-only locations even for owners. This breaks
std::filesystem::copy
in main.cpp.I'm not sure there is a way to continue using
std::filesystem::copy
when recursively copying read-only directories. We'll have to migrate to something else instead.Steps to reproduce (from Mikage build folder):
ninja install
sudo chmod -R -w /usr/local/share/mikage/nand/title
./source/mikage sm3dl.cci --bootstrap_nand --enable_logging
Observed output:
The text was updated successfully, but these errors were encountered: