![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Hmm
Industry Role:
Join Date: Sep 2005
Location: On an endless road around the world for rock and roll.
Posts: 12,642
|
.php file permisions
There is one thing that concerns me recently... after upload of any .php files to my server they get automatically permissions 755 for e.g. wordpress files and any other .php files.
Is that correct? Shouldn?t it be 644 like all other file types? ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jan 2005
Posts: 2,270
|
That is fine, unless you got something crazy that shouldnt be seen.
755 is owerner can read, write excute, others in group can read and excute but cannot write, and the rest of the world can read and excute but cannot write.
__________________
E-mail marketing - Automation Scripting - IP Space AIM: splitjoelp ICQ: 254759453 skype - splitjoelp 702-941-6465 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Hmm
Industry Role:
Join Date: Sep 2005
Location: On an endless road around the world for rock and roll.
Posts: 12,642
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
ICQ:649699063
Industry Role:
Join Date: Mar 2003
Posts: 27,763
|
Yeah, you can just chmod it to whatever permission you want when you upload it.
__________________
Send me an email: [email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Too lazy to set a custom title
Join Date: Jun 2004
Location: Brasil
Posts: 15,778
|
generally PHP files that are uploaded to the servers get the 755 permission
while directories have 750...
__________________
Do you need cheap, fast and reliable porn website hosting? Host Head is the way to go!! Asian Gay Special | Live on MSN - Live Webcam Chat | Live Adult Webcam Performances | MY SWEET BLACKS LIVE ON CAM Pukka Tranny | Tattooed Shemales | She's A He | Menu Porno | Porn Performances | All Chubby MY ICQ# 169833797 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Jan 2005
Posts: 2,270
|
Yes Fris is also right, as I said in my post unless you have something really important in the php file that has an open password or what not 755 will be fine and you wont have risk but if you have a php file with passwords or open directorys so forth 644 should be the setting for example configure.php that would hold the mysql data base name and password should be set to 644 but most other php files are safe as 755
__________________
E-mail marketing - Automation Scripting - IP Space AIM: splitjoelp ICQ: 254759453 skype - splitjoelp 702-941-6465 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Hmm
Industry Role:
Join Date: Sep 2005
Location: On an endless road around the world for rock and roll.
Posts: 12,642
|
Thx for all replays. I've chmoded all .php's to 644 just in case.
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Mar 2009
Posts: 1,200
|
you can find a lot of doc and example asking google
__________________
Sex Chat Roulette | Adult Sex Chat | Cam Sites | Mature Cams | Director Web | Videochat | Webmaster | MediaEnterprise |
![]() |
![]() ![]() ![]() ![]() ![]() |