Forum Moderators: coopster
Initially, I thought I was stuck, but I know that there is some way to do this. Squirrelmail, for example, writes to files in users home directories (/home/$username), and looking at the ownership and permissions of these files shows that they are indeed owned by $username, with permissions 0600. What is a program like Squirrelmail doing that allows them to append to these files without changing the ownership or permissions of these files. That is, what is the best (safest), or at least a good (safe) way to gain root access and update these files?
Can you create a file in the directory in question and then delete the old one? Presumably the new file would be owned by apache and then you could do whatever you wanted with it.
When you log into the shell, do you have access to these directories and files? Can you use chown from the shell? Shared, dedicated, colo or self-hosted server?