LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-22-2005, 02:26 AM   #1
pauliehaha
LQ Newbie
 
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
Restore all default file permissions


Like a complete newbie I changed file permissions recursively on the root directory '/' and now, on top of the security implications of having done this, some applications such as root terminal won't work.

Is there a quick and simple way to restore the default file permissions for all files and folders - such as copying settings from the installation disc.

I'd really like to get my installation back to normal without reinstalling so would appreciate any help.

Many Thanks,

Paulie...
 
Old 07-22-2005, 04:15 AM   #2
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
You can't, reinstalling is the way to go. Be more careful next time
 
Old 05-25-2011, 10:38 AM   #3
rami77
LQ Newbie
 
Registered: Oct 2008
Posts: 8

Rep: Reputation: 0
No way?! :S
Is it the final answer?

Last edited by rami77; 05-25-2011 at 10:39 AM.
 
Old 05-25-2011, 11:47 AM   #4
blue_print
Member
 
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 49
Smile

OK. Here is a help link. Please try this one and let us know if it works,

http://www.cyberciti.biz/tips/reset-...ermission.html
 
Old 05-25-2011, 11:56 PM   #5
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,280

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Depends if it's an rpm based system: what distro is this? If rpm based, try this http://www.cyberciti.biz/tips/reset-...ermission.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to restore the default file permissions (whole system) ? bbbb Linux - General 2 11-05-2005 04:10 AM
Default directory and file permissions kodon Slackware 10 08-08-2004 08:27 AM
Restore default permissions scotcro Linux - Newbie 1 01-21-2003 09:13 PM
how to restore the default permissions safrout Linux - General 4 10-21-2002 08:53 AM
How to restore a default smb.conf file glock19 Linux - General 7 12-22-2001 05:19 PM


All times are GMT -5. The time now is 05:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration