LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-29-2006, 08:06 AM   #1
Josh100
Member
 
Registered: Feb 2006
Distribution: Mandriva, Suse 10.2
Posts: 39

Rep: Reputation: 15
Reseting All Permissions


Is there a way I can reset all of my file permissions back to default, as I have been changing them quite a bit, and I don't think some of the changes are safe.
 
Old 03-29-2006, 08:23 AM   #2
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
What do you mean by "back to default"?

You could do a sweeping system-wide change of files with "chmod XXX / -r" (as root user), where XXX is the permissions you want to set everything to.

But why on earth would you want to do this?
Every file on your system has unique needs for its permissions, and changing them all to be the default would be a VERY BAD IDEA.
 
Old 03-29-2006, 08:34 AM   #3
Josh100
Member
 
Registered: Feb 2006
Distribution: Mandriva, Suse 10.2
Posts: 39

Original Poster
Rep: Reputation: 15
I just want to do it because i've been playing around with permissions trying to get mysql to work.

now i'm a bit worried that my computer is insecure because of all of the changes i've made.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
resolv.conf reseting on debian box bullium Linux - Networking 3 03-21-2006 12:49 PM
Reseting or recovering root PW rusty105 Red Hat 3 02-10-2006 06:10 PM
Speedtouch 330 keeps reseting guerilla fighta Linux - Hardware 1 07-19-2003 02:55 AM
sysctl.conf is reseting PhilD Linux - Networking 0 06-02-2003 12:14 PM
Reseting the file permissions Relja Linux - General 7 02-03-2003 08:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:18 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration