LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   was chmod 'ing a program and it disappeared. Had to reinstall it. (https://www.linuxquestions.org/questions/linux-newbie-8/was-chmod-ing-a-program-and-it-disappeared-had-to-reinstall-it-664930/)

CoffeeKing!!! 08-23-2008 09:04 PM

was chmod 'ing a program and it disappeared. Had to reinstall it.
 
Hi
I was just teaching myself about chmod and changed the permissions for kpercentage to o-wx. It wouldn't come up from the app menu after I chmod -R'ed but the root login did when I GKSU'ed it (without the program actually starting). After searching around, I found that kpercentage had disappeared and I had to reinstall it.

Does anyone know why this happened?

Xubuntu

{BBI}Nexus{BBI} 08-23-2008 09:10 PM

I don't know why it happened, but why practice on installed programs? Why not just create a file in your home folder and practice on that? Luckily this time it was a non-critical application!

CoffeeKing!!! 08-23-2008 09:44 PM

Quote:

Originally Posted by {BBI}Nexus{BBI} (Post 3257530)
I don't know why it happened, but why practice on installed programs? Why not just create a file in your home folder and practice on that? Luckily this time it was a non-critical application!

Thanks for responding Nexus. I chose to use a Kpercentege because I wanted to emulate chmod'ing something a little important. I wanted to restrict a guest to like some accounting program or whatever. I was just to lazy to bother with setting up numerous account on my comp. Kpercentage was just an easy victim from kdeedu.



While looking around I noticed that synaptic has an sbin entry and a I believe a ./synaptic in root. Do all programs that need root privileges reside in two places like synaptic?

Should I consider that when chmod'ing (experimenting with)my own desktop?


All times are GMT -5. The time now is 06:55 AM.