You do not have to have the write permission for this file to delete a file by using the sticky bit in linux, but you must have the write permission for the file's parent directory. That is to say, even if you do not have the write permission for a file, but you have the write permission for the file's parent directory, you can also delete the file, if you do not have the write permission for a directory, you cannot create files in the directory. How can a directory be used to allow any user to write files and prevent the user from deleting other people's files in this directory? sticky can play this role. Stciky is generally used only in directories and does not play any role in files. After sticky is set in a directory, (for example,/home, the permission is 1777) All users can create files in this directory, however, you can only delete files created by yourself (except root), which protects User Files in directories that can be written by all users.