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
For the package installation to work, $OMF_PATH/pkg needs to be writable. Both bin/install and the omf install command will fail when that directory is not writable by the user. Installation through Git will not lead to this situation, but some instances of offline install (where the OMF source is copied to $OMF_PATH) can lead to a non-writable pkg directory. I have encountered this issue while installing OMF as a NixOS package. The Nix package manager always stores downloaded files as read-only files. Other users have encountered this as well, see NixOS/nixpkgs#212158
My suggestion for a solution for the problem would be to run chmod -R u+w $OMF_PATH in the install_offline function after copying from $OFFLINE_PATH to $OMF_PATH.
Environment report
Run the command omf doctor and paste the output here. Example:
OS type: Linux
Fish version: fish, version 3.6.1
Git version: git version 2.40.1
Git core.autocrlf: no
Checking for a sane environment...
Your shell is ready to swim.
The text was updated successfully, but these errors were encountered:
For the package installation to work,
$OMF_PATH/pkg
needs to be writable. Bothbin/install
and theomf install
command will fail when that directory is not writable by the user. Installation through Git will not lead to this situation, but some instances of offline install (where the OMF source is copied to$OMF_PATH
) can lead to a non-writablepkg
directory. I have encountered this issue while installing OMF as a NixOS package. The Nix package manager always stores downloaded files as read-only files. Other users have encountered this as well, see NixOS/nixpkgs#212158My suggestion for a solution for the problem would be to run
chmod -R u+w $OMF_PATH
in theinstall_offline
function after copying from$OFFLINE_PATH
to$OMF_PATH
.Environment report
Run the command
omf doctor
and paste the output here. Example:The text was updated successfully, but these errors were encountered: