From mboxrd@z Thu Jan 1 00:00:00 1970 From: cubexyz@gmail.com (Mark Longridge) Date: Wed, 24 May 2017 20:23:07 -0400 Subject: [TUHS] can't protect files from deletion v5,v6, or v7 Message-ID: Ok, I just did an experiment with the rm command and the results surprised me. On Unix v5 logged in as root I created a small test file then did chmod 444 on it. Unfortunately it appears that mere users can still rm the file and also directories are not safe from the rmdir command (even directories set to mode 444). This seems to be the case for v6 and v7 as well. To be fair rm will prompt the user with: test1: 0100444 mode but the user only has to type y and hit enter and the file is toast. Is there no way to completely protect files from being deleted? Mark