Yes. Deleting files is dependent on the
directory's permissions. So if you set "~/folder" to be read-only, then you can't delete any files inside "~/folder", and if you then set "~/folder/file" to have write permissions, you will have a file that can be written to but not deleted