Back to the month index |
Back to the list index
|
Georg Horn (horn@uni-koblenz.de)
Thu, 22 Apr 1999 17:06:09 +0200 (CEST)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Fernando Lozano: "Re: Mirror of files?"
- Previous message: Fernando Lozano: "Re: lite and msql client"
- In reply to: RHS Linux User: "lite and msql client"
- Next in thread: Juergen Immel: "AW: your mail"
- Reply: Juergen Immel: "AW: your mail"
From: Georg Horn <horn@uni-koblenz.de> Message-Id: <199904221506.RAA04184@flens.uni-koblenz.de> Subject: Re: your mail Date: Thu, 22 Apr 1999 17:06:09 +0200 (CEST)Hi,
You wrote:
> I want to export an Database to an directory who is owned by user xy and
> group wwwmsql. The authorization is
> rwx to owner,group and --- to other.
> I use from an guarded Website about w3-msql:
>
> if(system("/usr/local/Hughes/bin/msqlexport -s';' db table >
> /www/test/usr/$file") < 0).....blah,blah,blah
>
> The msql-user is msql and group=wwwmsql.
>
>
> Problem : msqlexport can`t write in the directory because he runs as nobody
> and www.
yupp, cgi-scripts run with the permissions of the http daemon.
So you can set the owner/group of the dir to nobody.www, and perms to 755;
or put the nobody user into the wwwmsql group, set owner/group of the dir to
yx.wwwmsql (as you already have) and set the perms to 775.
This should work.
Bye,
Georg
- Next message: Fernando Lozano: "Re: Mirror of files?"
- Previous message: Fernando Lozano: "Re: lite and msql client"
- In reply to: RHS Linux User: "lite and msql client"
- Next in thread: Juergen Immel: "AW: your mail"
- Reply: Juergen Immel: "AW: your mail"