This is the part of the code as it stands, it gives a permission denied
error.
$imtemp=$_FILES['file']['tmp_name'];
$imsize=$_FILES['file']['size'];
$imname=$_FILES['file']['name'];
if ($imsize > "10") {zerror("Image too large","Please go back and
correct, image must be less than 100k"
Not sure about cron, but will look into sudo.
Thanks!
"Adrian" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> you could setup a cronjob running as root which chowns the files.
> or maybe you can so something with sudo
>
>
>
>
>
> --
> Adrian
> mailto:[EMAIL
Hiya,
I have written as part of my CMS, an image upload system, now when the
images are placed in the destination folder, they are owned by httpd.root
and I need to get them to be owned by siteuser.sitegroup.
I have tried to chmod and chgrp it to siteuser.sitegroup but it gives
permission denied
This is the part of the code as it stands, it gives a permission denied
error.
$imtemp=$_FILES['file']['tmp_name'];
$imsize=$_FILES['file']['size'];
$imname=$_FILES['file']['name'];
if ($imsize > "10") {zerror("Image too large","Please go back and
correct, image must be less than 100k"
On Wednesday 06 August 2003 18:16, Bix wrote:
> I have written as part of my CMS, an image upload system, now when the
> images are placed in the destination folder, they are owned by httpd.root
> and I need to get them to be owned by siteuser.sitegroup.
>
> I have tried to chmod and chgrp it to s
Much appreciated!
Will try the ftp approach, thanks.
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Wednesday 06 August 2003 18:16, Bix wrote:
>
> > I have written as part of my CMS, an image upload system, now when the
> > images are placed in the destination folder
you could setup a cronjob running as root which chowns the files.
or maybe you can so something with sudo
--
Adrian
mailto:[EMAIL PROTECTED]
www: http://www.planetcoding.net
www: http://www.webskyline.de
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
>I have written as part of my CMS, an image upload system, now when the
>images are placed in the destination folder, they are owned by httpd.root
>and I need to get them to be owned by siteuser.sitegroup.
>
>I have tried to chmod and chgrp it to siteuser.sitegroup but it gives
>permission denied e
8 matches
Mail list logo