LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-21-2006, 03:47 AM   #1
wtmtech
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
chgrp debacle


Hi All,

I wanted to change the owner of all the files and directories under a directoy and issued the command "chgrp -R groupname /*" when I intendted to do "chgrp -R groupname ./*". I realized my mistake shortly and did a CTRL+Z, but it was too late I am afraid.

I am afraid it will do lot of harm to the server (. What can I do to restore the situation. Please help me. I am on Fedora Core 2.

Thanks!
Ash
 
Old 09-21-2006, 10:22 AM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
The damage is done. You have two options. 1) You can reinstall Linux and copy the necessary web files back to it. 2) You can go directory by Directory and change the permissions.
 
  


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
chown, chgrp Help Icarus1701 Linux - Newbie 1 10-25-2004 06:42 PM
Chgrp Problem LinuxRam Linux - Newbie 7 08-30-2004 11:55 PM
Wireless debacle kmeehl Slackware 2 08-09-2004 05:35 PM
Why can't users chgrp ? Rotwang Linux - General 11 03-22-2004 09:35 PM
A hilarious explanation of the SCO vs Linux debacle tcaptain General 7 06-04-2003 10:41 AM

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

All times are GMT -5. The time now is 05:47 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