How to change file permissions of an executeable pulled into an image
In my custom image I'm including the secureblue copr of Chromium, which doesn't ship with widevine included. That can be downloaded from google, but needs to be put into a directory in the read-only area, so it must be included in the image. I have done so with this script: https://github.com/Oakleafknight06/startingleaf/blob/main/files/scripts/install-widevine.sh
based on this blog post:
https://andreafortuna.org/2019/09/24/how-to-install-latest-widevine-plugin-on-chromium/
Which seems like it should work, but the file is not set as executeable properly. How should i do this?
GitHub
startingleaf/files/scripts/install-widevine.sh at main · Oakleafkni...
Starting point for personal operating system image - Oakleafknight06/startingleaf
Andrea Fortuna
How to install latest Widevine plugin on Chromium
In order to watch Netflix! Have you installed Chromium on your linux box, every works well but Netflix don't? Do you know why? The answer is simple: Chromium browser lacks Widevine module! Widevine is a decryption module for DRM (digital rights management) used in Google Chrome and Android.It operates as an encryption scheme to securely distribu...
8 Replies
just run
chmod +x
on the file in your scriptdoes 644 not include making it executable? 🤦♂️
No, it doesn't. 644 means you can read and write the file or directory and other users can only read it.
iirc 755 had the executable bit too, right?
yes, 0755 is used for root folders & root executable binaries usually
Remembered this since Android root days
Okay, I might try that
I did chmod +x and setting to 644 after and it doesn't work, so maybe the second one overwrites the first
yeah, the second one overwrites the first
Something is still not working
Set it to 755