Originally Posted by DotHQ
UUUUuuuuuuu That is ugly.
My only advice would be to cd to where you want to do the chown before running the command with a -R. Then you wouldn't need the / in front of the command. If you are using absolute path it really doesn't matter where you are. Hitting the enter key at that inoppurtune time would have the same result if just the / is there.
Sorry, but like you said this will probably take a reinstall to get everything back as it should be ...unless you happen to have a backup that you could restore.
Yep, you are absolutely right.
Fortunately I run DirectAdmin. Through the DA forums I found this solution:
That should restore all permissions and ownage for all DA-related stuff.
However e-mail is still not working. No errors anymore, but e-mails just seem to disappear...
Exim log says:
appendfile transport process returned non-zero status 0x0100: exit code 1
unable to set gid=12 or uid=503 (euid=8): local delivery to...
failed to read delivery status for firstname.lastname@example.org
from delivery subprocess
Edit: just ran the exim.sh (install)script from the DA scripts dir and that fixed it. E-mail seems to work. Everything seems to work.
Probably will find new errors in the next couple of days. If so, i'll reinstall.