Visit Our UNIX and Linux User Community

chmod 777 * - oops

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers chmod 777 * - oops
# 1  
Old 05-15-2009
chmod 777 * - oops

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

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!

# 2  
Old 05-15-2009
If you only did:
# chmod 777 /home

then that will be the only directory changed, if you did:
# chmod -R 777 /home

then all the subdirectories will have changed as well.
So all you have to do is an:
# 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:
# chmod 755 /home


Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Only allowing chmod 777 for file upload folder

Hey everyone. I have 2 different linux servers (each one is through a different web hosting company). On both servers I have the exact same PHP file upload script that allows users to upload a file or image to the server (everything on both servers is identical). On server #1 the "attachments"... (5 Replies)
Discussion started by: Mr.Canuck
5 Replies

2. Windows & DOS: Issues & Discussions

chmod -R 777 * in cygwin

Hello, I use windows XP on a small server. Lately I downloaded a software (hydrological computation) which asked me to install as well the software ‘cygwin' (kind of linux in windows environment) and then to perform in cygwin window the command: ‘chmod -R 777 *' in order to give writings... (2 Replies)
Discussion started by: Cedalise
2 Replies

3. UNIX and Linux Applications

What is the difference between chmod in solaris and chmod in Linux?

i think it is the same in both... Iam i right? (1 Reply)
Discussion started by: sumaiya
1 Replies

4. Cybersecurity

can another user 777 and existing 777 dirctory?

User usrA creates dirA directory and runs chmod 777 on the directory. Can usrB issue another 777 on dirA? It appears the answer is no even if the usrA and usrB are part of the same group. I know this is a rare scenario but I just ran across it and found out that usrB receives an error when... (4 Replies)
Discussion started by: zlek131
4 Replies

5. Programming


Hi All, Can any one please differenciate between the Data Abstraction and Encapsulation? If possible, with code. Thanks in Advance, Naga:cool: (2 Replies)
Discussion started by: Nagapandi
2 Replies

6. Solaris

chmod -R 777 in /usr Solaris 9 = Major Screwup

Hello Everyone: One of our admins here accidently ran chmod -R 777 in the /usr folder on a V440 running Solaris 9. After that no one could run any command and could not login. I fixed most of the things by re-restricting some rights and applying the correct rights. Now there is a problem... (3 Replies)
Discussion started by: muntaser_zaheer
3 Replies

7. UNIX for Dummies Questions & Answers

chmod 777 security risks?

Hello all, I did a considerable search of the forum and didn't find an answer so I'll ask it here. For clarity's sake I'll state that I know just enough about Unix to be Dangerous (I'm an old Clipper, VO, ASM programmer from the 80's.) I would like to install PHP driven CMS program to my... (6 Replies)
Discussion started by: Gary777
6 Replies

8. UNIX for Advanced & Expert Users

oops on mount

When ever i mount any of my 2 scsi cdroms, I get a kernel crash with the folfollowing oops kernel output. I understand that it is impossible to anwser my question WHY but could you give me some advice where i should look to debug the problem or advice me some tools to detect what might be... (3 Replies)
Discussion started by: progressdll
3 Replies

9. UNIX for Dummies Questions & Answers

oops! Style Manager

Solaris 2.6, using CDE: agh. I accidentally set an ugly palette as my Home Session. The problem is, when I change the palette back to Default, I am informed that my change will be apparent in my next session. But when I log out and in, it's still the Ugly Palette. Doesn't matter if I set the... (1 Reply)
Discussion started by: kristy
1 Replies

10. UNIX for Dummies Questions & Answers

chmod 777 on all directories do I do that using the "find" command?

I've got 100 directories that each have 2 directories with in them. Structered like this: /home/domains/domain1/ through to /home/domains/domain100/ and those 2 directories mentioned above are here: /home/domains/domain1/directory1/ /home/domains/domain1/directory2/ through to... (7 Replies)
Discussion started by: Neko
7 Replies

Featured Tech Videos