Directory is 777 but I can't delete it, even via SSH


#1

yes i know chmod-ing to 777 is naughty but i wanted to rule permissions out…anyone ever seen this? changed actual user name from real name to some_user for security sake.

trimmed results from “ls -l”:
drwxrwxrwx 2 some_user pg1006784 4096 Jan 19 13:33 wordpress-seo

[vela]$ pwd
/home/some_user/some_domain.com/wp-content/plugins

[vela]$ whoami
some_user

[vela]$ rm -rf wordpress-seo
rm: cannot remove `wordpress-seo’: Permission denied


#2

To remove a file, you need permission on the directory it is located in, not the file itself.