i've created a directory for a nodejs app some time ago, called blog. The app was started with forever start app.js
, nothing special.
Now i tried to delete the entire app with folder, i stoped the app and did rm -rf blog
-> no permissions - all files in that folder are deleted, but not that directory itself.
I tried setting chown root:root blog -R
and chmod 777 blog -R
but still no permissions. Another try was to set chattr -i
but i still don't have the permission to delete that directory.
Any ideas? The server is a vServer with debian 7
Best regards,
Asto
Update 1:
the directory is empty, and i am logged in as root. sudo before the commands doesnt change anything. lsattr blog -Rd
shows ---------------- blog
the message rm returns is rm: Entfernen von „blog“ nicht möglich: Keine Berechtigung
(No Permissions)
Update 2:
➜ ~ whoami: root
lsattr -Rad blog: ---------------- blog
➜ blog ls -l: insgesamt 0
lsof | grep blog
zsh 19967 root cwd DIR 144,50 4096 109846700 /var/www/clients/client0/web2/blog
lsof 23886 root cwd DIR 144,50 4096 109846700 /var/www/clients/client0/web2/blog
grep 23887 root cwd DIR 144,50 4096 109846700 /var/www/clients/client0/web2/blog
lsof 23888 root cwd DIR 144,50 4096 109846700 /var/www/clients/client0/web2/blog
getfacl blog:
zsh: command not found: getfacl