Webmaster Key - Discussion Forums


Welcome, Guest. Please login or register.
Did you miss your activation email?
February 09, 2012, 03:17:56 AM

Login with username, password and session length
Welceome to Forums!

Important information for guests and new members:

In order to understand the full benefits of becoming an active member of this forum, please review the following information on guest and new member restrictions. These forum changes have been prompted by an overwhelming and unreasonable amount of bot postings and incoherent guest spam messages. We wish to prevent these events from happening in the future and make our community a more comfortable place for all of our members.

For guests:

Guests are not allowed to open new topics, polls, or posts attachments.
If you wish to open up new discussions on this forum, we encourage you to register.

For new members:

New members with less than five posts are not allowed to modify additional profile information such as avatars, contact information, biographies, and signatures. However, new members are encouraged to post their own topics or reply to topics initiated by other members. Become active on the forums and 5 posts should be an easy task!

We are a diverse community with members from all over the world. We encourage new ideas and interesting conversation. Do not be afraid to post webmaster/computer-related questions or problems, as our active members are always willing to help when they are able. Interested? Join us.

+ Webmaster Key Forums
|-+ General Discussion
| |-+ Tech Corner
| | |-+ Linux Discussions and Help (Moderator: donecweb)
| | | |-+ chmod -t /home/corvette/ 644=uh oh!
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Stumble Upon! Digg It! del.icio.us! Add to Technorati! ReddIt!  Send this topic Print
Author Topic: chmod -t /home/corvette/ 644=uh oh!  (Read 2392 times)
Corvette
Jr. Member
*
Posts: 16



« on: October 12, 2005, 08:27:23 PM »

Oh great, when I chmodded my home directory on my one user Ubuntu 5.10 RC1 system to 777, GDM complained at me but would let me on. I thought the thing said it had to be 644 so I chmodded my directory to 644, but then the whole system went haywire, apps wouldn't launch, and even worse KDE would refuse to start! So basically, I have a whacked Linux system. Is there any way I can fix it...?
Report to moderator   Logged
SensoVision
Administrator
Veteran
*****
Posts: 5 857


I'm proud user of Debian GNU/Linux OS


WWW
« Reply #1 on: October 12, 2005, 09:14:17 PM »

actually there are not much files which should have permission 777, it's always better for security to keep lowest permissions as possible since by making them 777 or so you're making all files executable which isn't good idea...
you're right that most files in home directory have permission 644 but most directories have to be 700 or 755 in order to make files in them readable. if you make directories with permission 644 you'll get into the troubles...
If you can't login into your account I would suggest to try
Code:
chmod -R 755 /home/corvette
and see if it would let you temporarily use your home directory for login, if you fail with 755 try 777 again.
And right after this I would try to make new user and copy from your old home directory all essential files e.g. form programs which are hard to configure and of course you documents and so on(I'm suggesting such solution and I guess that there is no magical way which would let you restore all permissions to default and leaving them in other state could lead to unexpected bugs in programs).

BTW I wonder what was the reason to chmod home directory? I admit that I did something like this too when just started my experience with Linux but I didn't brake the system since I had my home directory backed up Tongue

PS if you decide to create new user, try not to use old config files but rather configure them manually in order to avoid copying file with wrong permissions.
PSPS there actually another way to restore permissions but it's not time wise at all: you can create new user and while you're logged under it, fire up programs which you're using so they create necessary config files, after this you can use them as reference for correct permissions...

hopefully something from this would help, let me know if you need more help or anything from above wouldn't work, maybe I'll have another idea...
Report to moderator   Logged

Denis
Pages: [1] Go Up Stumble Upon! Digg It! del.icio.us! Add to Technorati! ReddIt!  Send this topic Print 
+ Webmaster Key Forums
|-+ General Discussion
| |-+ Tech Corner
| | |-+ Linux Discussions and Help (Moderator: donecweb)
| | | |-+ chmod -t /home/corvette/ 644=uh oh!

Jump to:  
« previous next »


Our Partners
RelmaxTOP Ranking System Web Hosting RelmaxTOP Ranking System
Staff Sites
12Noon[12Noon Gallery] Andy[Urgentclick]
Tamuril[Tamuril's Digital Art Exhibit] Sensovision
Powered by MySQL Powered by PHP We are hosted by Relmax Inc. |Our Privacy Policy | Sitemap
Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC
Forum design by Tamuril © 2005.
Valid XHTML 1.0! Valid CSS!