Howto: make files/folders secure from accidental deletion with a simple gui trick

As it happens we occasionally hit delete where we should not and that can deliver a lot pain if we are using a filemanager which does not support trash can feature. Here is a simply trick to prevent accidental deletion of files and folders inside your Linux box.

First thing you need to do is open your filemanager (nautilus,pcmanfm…) and then when you see the folder/file you want to secure right click on it and choose properties from the menu. When you are inside properties navigate to a tab called permissions and change the value from Change content to nobody (see the screenshot at the end of this post).

Of course when you are doing this I will strongly recommend testing out the procedure first with a an empty file or folder to verify that everything is ok. Also do remember to always have backups from your important files because accidents and disasters might happen to hard drives especially when they get older.
permissions screen