Linked Questions

4
votes
4answers
2k views

How to restore remote access to a RHEL system from expanded permissions set over the entire filesystem? [duplicate]

Cause of the problem I intended to add group write permission on hidden files like '.hgignore' with the following: # pwd /opt # sudo chmod -R g+w .* The problem is that '..' matched this pattern, ...
1
vote
4answers
13k views

CentOS 6.3:Cannot login as root despite the password being correct. Same password working correctly for days [duplicate]

Possible Duplicate: Why is “chmod -R 777 /” destructive? I have CentOS 6.3 minimal installed. No desktop or GUI. All the while, I was able to login as root. Today, I come to work and find the ...
2
votes
2answers
7k views

root directory permissions changed to 777 by mistake whats now? [duplicate]

By Mistake on Ubuntu 9.04 my colleague has changed the permissions to 777 on root directory (/) whats the best way to recover the permissions ?
-3
votes
1answer
2k views

Chmod all files and directories recursively to 666 under /usr [duplicate]

I want to make an chmod command that's recursively will apply the privilegies to all directoris under that. Example: chmod 666 /usr I want that every directory under "/usr" turn into permissions to ...
-1
votes
2answers
1k views

effective uid is not 0, is sudo installed setuid root? [duplicate]

I am using a cloud server of godaddy & I don't have root password. My master user has root access through sudo. I was trying to create another user and set permission for a specific directory. I'...
0
votes
3answers
206 views

Giving permission 777 to folders/files Cons? [duplicate]

I am trying to understand how giving 777 permission to folders or files works. I did some research and understand that 777 permission is not the best when it comes for security. Referring to Web ...
-4
votes
1answer
213 views

SSH broken due to chmod -R /* [duplicate]

I made a total mistake here. Anyway I ran chmod -R 777 /* and immediately regretted my decision. I had to boot into single user mode to and ran chmod -R 755 /etc/* in order to login to the server. ...
0
votes
0answers
42 views

Changed permission of “etc” to 777 by mistake now can't access google cloud using putty [duplicate]

I changed the permission of etc file to 777 in a ubuntu VM in google cloud. Now my ssh keys are not working and i can't access the server. How can I revert it back??
0
votes
0answers
28 views

SSH login are disabled after chmod 444 -R myfolder / [duplicate]

I have accidently ran chmod 444 -R myfoler /. Because of a space it changed root dir permission , I have immediately stopped but now all my login are disabled except root. Please need help asap. ...
12
votes
9answers
38k views

How to repair/restore ubuntu 10.04 after 'sudo chmod / 777'

See Also: Why is “chmod -R 777 /” destructive? I changed file permissions recursively on the root directory / by executing sudo chmod -R / 777, and after that my system won't boot (I'...
0
votes
2answers
8k views

Restore file permission on CentOS 7

I managed to messed up server permissions on entire server chown root:root -R / chmod 777 -R / How to fix it? I can't login as root using terminal on that machine it show error "Invalid password" ...
-3
votes
1answer
18k views

Upload File /Apache :: Failed to open stream: Permission denied on CentOS

uploading file to server is always giving me this error though I tried all solution on the web for this problem but I'm still getting this error no matter what : Warning: move_uploaded_file(/home/...
1
vote
2answers
8k views

Best way to recover mysql from a “chmod -R 777 /” with databases intact

Question: What is the best way to recover mysql (or worst case: migrate away) from a "chmod -R 777 /" with databases intact? System: Ubuntu 12.04 LTS MySQL 5.5.24 64 bit Amazon EC2 cloud server. ...
1
vote
1answer
2k views

Restore file permissions after rsync on ntfs

When messing around with partitions under Windows when I tried to format empty space of the hard drive to have it in Windows, I messed something up and cfdisk told me that all the partitions did not ...
0
votes
1answer
943 views

AWS EC2 - How can I recover files now that I'm no longer able to SSH into my server instance? [duplicate]

(I'm very inexperienced with servers) After getting frustrated with some permission issues on my AWS EC2 instance I decided I would do the command: chmod -R 777 / I thought that would change the ...

15 30 50 per page