This question already has an answer here:
- Permission Denied To Delete File 1 answer
I have set
000 permission for a single file writing this code:
sudo chmod 000 ./Desktop/*.gif
But still this file is deletable and renameable (but not readable).
Although this code:
sudo chmod 000 ./Desktop/Directory_name
makes the directory inaccessible (read,write,execution protected).
What's wrong ?