System upgrade removed custom script executable permissions.
by r3tro-c0re from LinuxQuestions.org on (#6J1NT)
Recently I turned on my linux laptop to run some updates, now it had been a couple of months since I last turned on the laptop. I don't think that would really have any effect on the issue at hand but figured I would mention it.
Little background of the device, its a pang12 System76 LT and I updated it to version 22.04, running Pop_!OS
After the update I noticed that my custom c++ compiled scripts lost their executable permissions. Not sure if this was caused by a system update and if so was just kinda curious what/why it could cause this.
All compiled scripts are saved in my user path, so /home/user/code/comp/
Now this isn't a big deal because I can just give them permissions again, just curious is all.
Not sure if it matters or not but I did use chmod +x file to give the compiled code executable permissions.
Commands used during the upgrade were the standard ones:
sudo apt-get update -y
sudo apt-get upgrade -y
Little background of the device, its a pang12 System76 LT and I updated it to version 22.04, running Pop_!OS
After the update I noticed that my custom c++ compiled scripts lost their executable permissions. Not sure if this was caused by a system update and if so was just kinda curious what/why it could cause this.
All compiled scripts are saved in my user path, so /home/user/code/comp/
Now this isn't a big deal because I can just give them permissions again, just curious is all.
Not sure if it matters or not but I did use chmod +x file to give the compiled code executable permissions.
Commands used during the upgrade were the standard ones:
sudo apt-get update -y
sudo apt-get upgrade -y