The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
500 OOPS: vsftpd: cannot locate user specified in 'ftp_username':ftp thomn8r Ubuntu 2 11-20-2008 02:36 PM
Oops Nagapandi High Level Programming 2 10-20-2008 09:45 AM
oops...accidentally overwrote postfix aliases file JeepResQ SUN Solaris 2 01-08-2008 04:51 PM
oops on mount progressdll UNIX for Advanced & Expert Users 3 02-15-2003 12:04 PM
oops! Style Manager kristy UNIX for Dummies Questions & Answers 1 12-14-2001 06:07 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-15-2009
shunter63 shunter63 is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 5
chmod 777 * - oops

I can belive I really did this... chmod 777 /home

I have my /home directory synced to another machine.

Can anyone tell me how to get the permissions from
back up server /home to production server /home

It's important that I dont over write the files on the production server.

Please dont guess on this one!

Thanks!!!!!!
  #2 (permalink)  
Old 05-15-2009
TonyFullerMalv's Avatar
TonyFullerMalv TonyFullerMalv is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2008
Location: Malvern, Worcs. U.K.
Posts: 748
If you only did:

Code:
# chmod 777 /home

then that will be the only directory changed, if you did:

Code:
# chmod -R 777 /home

then all the subdirectories will have changed as well.
So all you have to do is an:

Code:
# ls -ld /home

on the correct system and copy the permissions. On my Linux machine /home is drwxr-xr-x which one would achieve with:

Code:
# chmod 755 /home

Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:36 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0