Home » Questions » Computers [ Ask a new question ]

change permissions for files and directories under home directory

change permissions for files and directories under home directory

I share a Linux server with several people. Is it better to change the permissions of files and directories under my home? I wonder if other or group users will have access to or even modify my files.

Asked by: Guest | Views: 258
Total answers/comments: 1
Guest [Entry]

"Yes, you should change files/folders that you don't want read by others like this:

chmod go-rwx SECRET_FILE_OR_FOLDER

(this makes it unable to be read, written or by anyone else.)

You should also make sure you have the right modes on your home directory, eg,

chmod go-w ~"