5
votes
7answers
2k views

“chown -R root /” how screwed am I?

I accidentally performed the command chown -R root / while trying to change the permissions to the public folder of my rails app. I believed this changed the permissions to all my folders on the / ...
2
votes
3answers
259 views

Does permission 777 allow scripts outside your server to write on it?

Let's say example1.com is located in US, and example2.com is located in EU. example1.com/folder/ has 777 permission. Will a script in example2.com be able to write on example1.com/folder/? Or is ...
0
votes
2answers
2k views

Making a directory on unix readable,writeable,executable by me and no one else?

What is the proper way to make a directory that I created and all of its contents readable/writeable/executable only by me, and no one else? Is this sufficient: chmod g-rx mydir/ this should make ...
2
votes
1answer
355 views

How can I mirror a Linux directory and back up all metadata?

I need to backup my home folder (and a few other folders) on an organizational Linux NFS system where my account will be expiring soon, onto a personal hard drive (which is not using a Linux ...