System upgrade removed custom script executable permissions.
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
System upgrade removed custom script executable permissions.
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
I have to say it is almost impossible. System upgrade has no any idea about your custom directories, should not touch or alter them. But anyway, anything can be buggy. I would rather say you made a mistake somewhere.
I have to say it is almost impossible. System upgrade has no any idea about your custom directories, should not touch or alter them. But anyway, anything can be buggy. I would rather say you made a mistake somewhere.
That is entirely possible, I didn't think the upgrade should be able to [mod removed language] with custom directories either. So maybe it is on me for doing something all those months ago, that I just forgot about.
Last edited by onebuck; 01-23-2024 at 09:20 AM.
Reason: remove langauage, LQ rule violation
Can't send a message to the mod I got a warning from, so just going to put it here, didn't realize a curse word violated any terms of service. The only rule regarding swear words is the following:
Do not post any messages that are obscene, vulgar, sexually-orientated, hateful, threatening, hostile or insulting.
Didn't realize I can't say swear words in general, thought this was only in reference to interacting with other people.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.