HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free and registered users see less advertising! If you just want to browse through the existing questions, just select the forum that you want to visit from the selection below. Otherwise, click here to register!. We highly recommend that you print a copy of our Guide for New Members. Enjoy!

HELP! I may have killed my system

I was installing wine and ran winecheck. It returned 3 suspecious items. One of them was because user didn't have write permission to &quot;/&quot;. The temporary file is /tmp so I thought I may need write permission to use wine. I then changed permissions by entering &quot;chmod +x&quot; in terminal as su. Nothing changed so I entered &quot;chmod -x&quot; and everything crashed. Now I cannot do anything other than log in as root at the prompt and every few seconds a box pops up with this:

Server Authorization directory (daemon/SerAuthDir) is set to /var/gdm but this does not exist. Please correct gdm configuration /etc/X11/gdm gdm.conf and restart gdm.

Re:HELP! I may have killed my system

So if you were in the /tmp directory when you did that... is chmod recursive and all inclusive? All inclusive meaning that is hits every file in each directory it goes into?

My thought is that you weren't in /tmp when you did the chmod but you were in / and it initially made everything executable but then you removed all executables by doing the chmod -x from / so you may need to figure out which files NEED to be executable and chmod them (individually?).

Not sure if the recursive thing is right or not so I may be WAY off on this

Re:HELP! I may have killed my system

just for the record, chmod isn't recursive unless you specify the -R option. Not sure why making your root partition executable made things better, but hey all's well that ends well. Just be on the lookout for funky permissions...this is seldom the type of thing that goes away just like that.

Re:HELP! I may have killed my system

[quote author=Tyr_7BE link=board=1;threadid=6234;start=0#59047 date=1044076644]
Not sure why making your root partition executable made things better, but hey all's well that ends well.
[/quote]
While I was reading the man page for chmod I found that the x permission on a directory makes it accessable... So I supose that the chmod -x made / unaccessable.

At least that is what I remember from reading the man page, me and my memory aren't the best of friends. It tries to screw me every chance it gets :P