[Wolves] is there any way to write to a file without chmod 777

Philip Harper ph004h7245 at blueyonder.co.uk
Wed Sep 26 11:02:58 BST 2007

Well, yes....if you had access to a shell where you can issue chgroup, 
chown and all that jazz, but what I'm talking about is a bog standard 
hosting panel, where at most it will let you chmod the file, and really 
this is beyond the average non-technical user.

Daniel Jones wrote:
> On 25/09/2007, Philip Harper <ph004h7245 at blueyonder.co.uk> wrote:
>> I want a user to be able to update their web pages easily, so I'm using
>> FCKeditor, which is great.  The only problem is of course, to then save
>> the results back to the html file, you need to make it world writable,
>> and not a good idea when it is in the web docs root directory.  Is there
>> any way to do this easily, it has to work with all web hosting accounts
>> that have PHP without needing special permissions?  The only other way I
>> can think of doing it, is storing the content that the user can change
>> in a MySQL database, and then writing any edits back to the database, so
>> MySQL looks after the security.
> Don't you just need to set the user and group of the file to be the
> same as apache?
> Or am I missing something?

More information about the Wolves mailing list