https://blue-build.org/ logo
How to change file permissions of an executeable p...
# questions
o
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?
a
message has been deleted
x
just run
chmod +x
on the file in your script
o
does 644 not include making it executable? 🤦‍♂️
e
No, it doesn't. 644 means you can read and write the file or directory and other users can only read it.
q
iirc 755 had the executable bit too, right?
f
yes, 0755 is used for root folders & root executable binaries usually
Remembered this since Android root days
o
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
x
yeah, the second one overwrites the first
o
Something is still not working
Set it to 755
2 Views