Re: File permission problem Apache / PHP
From: Joe.. (margolin_2090_at_yahoo.com)
Date: 01/18/04
- Next message: Sybren Stüvel: "Re: loging into gui"
- Previous message: Cyberdude: "Any way to get Speedtouch 330 ADSL USB modem to work with Suse 9.0?"
- In reply to: Swartz: "File permission problem Apache / PHP"
- Next in thread: Swartz: "Re: File permission problem Apache / PHP"
- Reply: Swartz: "Re: File permission problem Apache / PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 18 Jan 2004 20:09:59 +1100
from what i have seen on my box...
i had the same problem as i tried using user accts on the box & it would
get access denied when trying to view uploaded files through the webserver
what i did was put the files into a directory with nobody/nobody settings
rather than the main user directory
ie. the public or www directories you sometimes find on certain isps...
"Swartz" <swartz@inbox.ru> wrote in message
news:100jd34qi76q5dd@corp.supernews.com...
> Hi all.
>
> I've got here what seems to be a file permission-related problem.
> I have an older pentium mmx linux box running apache 1.3.29 + php 4.3.4.
> Apache runs as uid/gid: nobody/nobody. This webserver is for development
> purposes only. I have a paid hosting account elsewhere, but I'm trying to
> mimic the hosting environment in which the final version of the project(s)
> will reside.
>
> Now everything works flawlessly on the development server. When a user
> uploads files via ftp: the files receive user's uid/gid. However, if the
> files are created through the web, they receive apache's uid/gid
> (nobody/nobody). I have two commercial packages (ad-management and
> user-community) that come with installation scripts. Upon installing the
> scripts, the installed files are chmod-ed 644, thus any attempt to modify
> these files via ftp results in permission denial. Manually chown/chgrp-ing
> files is pain in the butt.
>
> Now my paid hosting company doesn't have this problem. Any file uploaded
via
> ftp or created through the web automatically receives my user/group
> permissions. Would someone, please, show me how to configure my server in
a
> similar fashion?
>
> TIA
>
> --
> Swartz
>
>
>
- Next message: Sybren Stüvel: "Re: loging into gui"
- Previous message: Cyberdude: "Any way to get Speedtouch 330 ADSL USB modem to work with Suse 9.0?"
- In reply to: Swartz: "File permission problem Apache / PHP"
- Next in thread: Swartz: "Re: File permission problem Apache / PHP"
- Reply: Swartz: "Re: File permission problem Apache / PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|