LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 01-22-2024, 07:45 AM   #1
r3tro-c0re
LQ Newbie
 
Registered: Jan 2024
Posts: 3

Rep: Reputation: 0
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
 
Old 01-23-2024, 04:10 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,976

Rep: Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337
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.
 
Old 01-23-2024, 08:59 AM   #3
r3tro-c0re
LQ Newbie
 
Registered: Jan 2024
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pan64 View Post
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
 
Old 01-23-2024, 09:36 AM   #4
r3tro-c0re
LQ Newbie
 
Registered: Jan 2024
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Eric removed Palemon from his smithy - palemoon: removed from the repository becasuse [sic] of developer attitude Darth Vader Slackware 14 09-02-2018 01:30 PM
When 1 app is removed, is it removed from the other accounts too? drpeppercan Linux Mint 12 12-24-2017 07:42 AM
Executable removed from /usr/bin on restart. Rob001 Linux - Newbie 2 10-15-2009 08:11 AM
Removed accidently removed panel at Suse 11.1? alte_mann SUSE / openSUSE 6 01-29-2009 04:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration