To delete a file in Linux:
What minimal permissions do we need to set on it?
What minimal permissions do we need to set on its parent directory?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
If you try to delete a file then the normal file permissions (including ACL and RichACL) do not matter at all. The only relevant attribute to the file itself is the file system attribute
You need write permission for the direct parent directory and execute permission for all parent directories.