2
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-
Could you post the output of
getfacl artists.csv
? – terdon – 2013-09-23T10:48:00.513@terdon here it is. – Shimon Rachlenko – 2013-09-23T10:51:22.673
It should at least be possible to delete it as root! – FSMaxB – 2013-09-26T10:25:14.543