Paul Wolsink wrote:
>
> Good day to you all
> I've got a problem where I'm battleing to get an upload by
> browser function to work.
> I'm not sure whether it is related to PHP or Write rights or
> other reasons.
>
> What I have is a 5.1.2 e-smith server basically standard with
> ibays.
> I have a PHP application with mySQL database and it works
> great.
> I created an upload module where users can upload Images for
> items for sale.
> On my development system it works 100%, on e-smith it doesn't
> and I don't get an error either.
> If I FTP into the server, I cannot upload a file either and I
> also don't get an error ie. Forbidden access or what ever.
>
> My conclusion is therefore that it is most likely Write
> access rights, but I cannot get it to work.
> I presume the user who need access is www and it is in the
> admin group.
>
> Reading/searching in these forums doesn't help. I tried the
> bits and pieces of info, but to no avail.
> I tried to add user www to a group and to then in
> Server-Manager to let it have Write access, but doens't seem
> to work.
> I tried chmod and chown
> ie. chown -R
www.admin html/images
try this:
[root@yourbox /html] # chown www:www -R images
>
> I only want the users to upload via browser and not FTP to
> make it as user friendly as possible.
>
> Any advise?
>
> regards
> Paul