I created a file in the /tmp/ directory. The file is owned by mysql user and has full permissions, i.e.
-rw-rw-rw- 1 mysql mysql 16 Sep 23 12:44 artists.csv
Now I want to delete it, but get Operation not permitted error:
shimon@T61p:~$ rm /tmp/artists.csv
rm: cannot remove ‘/tmp/artists.csv’: Operation not permitted
I only can delete this file using sudo.
I want to know why I cannot delete file which has all permissions for that using my user.
Output of getfacl artists.csv:
shimon@T61p:/tmp$ getfacl artists.csv
# file: artists.csv
# owner: mysql
# group: mysql
user::rw-
group::rw-
other::rw-