Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> I Messed Up Pretty Bad, world write permissions
kaos
post Nov 21 2005, 06:57 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 21-November 05
Member No.: 5,764



i accidentally chmoded my / directory.. to get it back to be able to restart and so forth i did a '# chmod 755 /' now it seems to be running ok but my mailserver and some other directories that are suppose to be world writable are affected. Does anyone know a list of all the directories that are suppose to be world writable or is there a way to restore all the permissions back to they way they were using redhat installation cd or something? any tips are greatly appreciated.
Go to the top of the page
 
+Quote Post
michaelk
post Nov 21 2005, 08:15 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



Not all files in the same directory have the same permissions. So, you really can't do a global chmod successfully. Besides a full restore I do not know of a good method of restoring perimssions from the install CDs.
Go to the top of the page
 
+Quote Post
Jim
post Nov 21 2005, 10:41 PM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



Just out of ceruiosity, what distro are you running, if you say Linspire this post is going up on the "list of why running as root it bad" otherwise, it was just an honest mistake. You have to be careful with the -R when you aren't in interactive mode.

I have a feeling there are programs out there that will do permissions repair, I will poke around and see what i can find, what distro are you running?


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th October 2017 - 06:27 AM