View Full Version : upload attachment and chmod 777 !!!
baghdad4ever
04-30-2010, 07:02 AM
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
PitchouneN64ngc
04-30-2010, 09:12 AM
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.
baghdad4ever
04-30-2010, 10:04 AM
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?
PitchouneN64ngc
04-30-2010, 10:27 AM
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.
baghdad4ever
04-30-2010, 11:39 AM
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
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.