joplin icon indicating copy to clipboard operation
joplin copied to clipboard

Documentation: Change macOS and Linux symlink suggestion

Open WesleyDavid opened this issue 1 year ago • 2 comments

FHS recommends that user binaries be added to a system in /usr/local/bin. This is more than just being picky; macOS 14 and beyond actively refuses to allow users to add to /usr/bin even with sudo. I was just attempting to install the Joplin CLI on my Macbook and add it to a directory in $PATH but was blocked from following the documentation. I'm sure many users have already bumped into this and figured it out, but it's probably good to clear it up in the docs.

Linux systems may be just as hardline about protecting /usr/bin depending on distribution and the use of AppArmor or SELinux. Regardless, the old school recommendation to use /usr/local/bin is more universally supported.

WesleyDavid avatar Feb 26 '24 19:02 WesleyDavid

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

github-actions[bot] avatar Feb 26 '24 19:02 github-actions[bot]

I have read the CLA Document and I hereby sign the CLA

WesleyDavid avatar Feb 26 '24 21:02 WesleyDavid

Thanks for the fix! I guess when I created this command it was still possible to write to /usr/bin on macOS.

laurent22 avatar Feb 27 '24 10:02 laurent22