Re: getting php to run as another user?
From: coolsti (coo_at_goontrytospamme.com)
Date: 09/24/04
- Next message: AJ: "Re: Textarea Replacement Script"
- Previous message: Hilarion: "Re: Number question"
- In reply to: coolsti: "Re: getting php to run as another user?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 24 Sep 2004 18:27:20 +0200
On Fri, 24 Sep 2004 18:08:53 +0200, coolsti wrote:
Maybe I found out the solution afterall. I just tried this:
I unmounted my Windows drive and remounted it with a command like
smbmount //windowsdrive/windir /mnt/home/windrive -o
username=george,uid=apache
where the significant difference here is that I specifically said that the
uid is apache instead of my Linux user id. When I do this, the script
works fine, and move_upload_files() can place the files on the windows
drive.
So I guess NC's advice was correct, the Windows permission is completely
separate from the Linux permissions.
Thanks!
/Steve
- Next message: AJ: "Re: Textarea Replacement Script"
- Previous message: Hilarion: "Re: Number question"
- In reply to: coolsti: "Re: getting php to run as another user?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|