Skip to content

Instantly share code, notes, and snippets.

@hrz6976
Last active April 20, 2025 10:43
Show Gist options
  • Save hrz6976/8bd041b92fc88189793b4ad9f8ad5ad4 to your computer and use it in GitHub Desktop.
Save hrz6976/8bd041b92fc88189793b4ad9f8ad5ad4 to your computer and use it in GitHub Desktop.
Hacking through the limitations by iXSystems and get insecure wide links to work on TrueNAS Scale
@Zanathoz
Copy link

Zanathoz commented Mar 18, 2025

Sadly they have moved these files from /usr/lib in 24.10.

Seems the new location is: /usr/lib/python3/dist-packages/middlewared/plugins

Additionally, they've made this folder read-only. I assume changing top level permissions may eventually get you to a point of copying and editing the file. Not a risk I really want to take on my production system at the moment.

@hrz6976
Copy link
Author

hrz6976 commented Apr 20, 2025

Confirmed that this method is still working on 25.04.
Here's how to unlock /usr: (ref: https://www.truenas.com/docs/scale/scaletutorials/systemsettings/advanced/developermode/)

sudo systemd-sysext unmerge
sudo -i
# do stuff
sudo systemd-sysext merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment