-
Both owner "terry" and group "staff" members
-
Any user in "other"
-
The owner, user "terry"
-
Any member of group "staff"
EXPLANATION
To remove a file, a user needs write and access (execute) permission on the directory. That is, -wx at minimum.
The
user does not need read permission on the directory to remove a file if
the name is known, but read permission on the directory would be
required to discover the filename, for example, with "ls".
User "terry", the owner, does not have access to the directory (x is absent for user).
SOURCE
https://www.hackinglinuxexposed.com/articles/20030424.html