Helpful Information
 
 
Category: vBulletin Open Source Products
upload attachment and chmod 777 !!!

hi

i transfere the attachment from database to file system and give the folder chmod 755

the upload is doesnt work unless the chmod 777 while the forum upload attachment work fine with chmod 755

why this occur?? and how to solve it plz

i hate chmod 777

thanks

I think it depends of the owner / group for each file. I can use CHMOD 755 is the user / group is apache / apache on my installation.

I think it depends of the owner / group for each file. I can use CHMOD 755 is the user / group is apache / apache on my installation.

thanks for reply

in the my forum 755 is ok but in pt is not

so how i can fix that plz?

You can use SSH, go to the directory before the directory where you want to move your attachments and execute this command:

chown apache:apache yourdirectoryname

I just made it and all PT attachments are now in filesystem / CHMOD 755.

You can use SSH, go to the directory before the directory where you want to move your attachments and execute this command:

chown apache:apache yourdirectorynameI just made it and all PT attachments are now in filesystem / CHMOD 755.


thanks it is fixed:D










privacy (GDPR)