Forum Moderators: coopster

Message Too Old, No Replies

Changing Permission

         

Saint Honore

12:51 pm on Aug 4, 2006 (gmt 0)

10+ Year Member



Hello,

I have been working with uplaoding of images which creates the folder automatically during uplaoding, but iam unable to change the permission of the folder. when i try changing from cpanel i get the below error.
"a fatal error or timeout occurred while processing this directive"
Kindly suggest me where iam wrong.

Regards

jatar_k

12:52 pm on Aug 4, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



have you tried using chown [php.net] after the directory is created in the script

Saint Honore

1:05 pm on Aug 4, 2006 (gmt 0)

10+ Year Member



Hello thanks for the swift and quick response.

I tried usign chown() but i get

Warning: chown(): Operation not permitted in /home/welcome2/public_html/new_web/apartmentsFileUpload.php on line 22
/home/welcome2/public_html/new_web/apart_images/33/33inner/Sample.jpg Uploaded Successfully...

the file is uplaoding but no idea why iam getting this errors.

coopster

4:00 pm on Aug 4, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Sounds like a permissions issue. Check the owner/group of the directory (and the parent directory) and compare that to the owner/group of the web site user.