by cdvrooman » January 1st, 2011, 6:25 pm
jetheat,
Huh. That's strange. So you were logged in as 'root' and you still couldn't delete the directories?
Well, user '99' is the user that the server runs as. It is equivalent to 'nobody' or 'apache' or whatever user the server is configured to run as. I've deleted directories while logged in as 'root', but I've got a VPS. Maybe you're on shared hosting?
You can try this, but if you're actually logged in as root and can't blow away the directories I think you'd have to ask your webhost tech support to do it for you.
Anyway, first you need to know the name of the account that you're logged into. It should be the same as the username you use when you log into cPanel or Plesk or your FTP account. For this example lets say the name of your account is 'jetheat'.
Then, from the plugins directory, try this:
chown -R jetheat:jetheat s2member-files s2member-logs
That should change the ownership of each directory and all its files recursively to the group:user 'jetheat'. Then you could try the other command again 'rm -rf ... '.
When you're logged in via SSH (PuTTY), try this command:
whoami
That will tell you what user you're running as.
Good luck,
Christopher.