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.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-06-2009, 04:26 PM   #1
Cyber Fucker
Hmm
 
Cyber Fucker's Avatar
 
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?
__________________

Last edited by Cyber Fucker; 10-06-2009 at 04:28 PM..
Cyber Fucker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-06-2009, 04:29 PM   #2
split_joel
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
split_joel is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-06-2009, 04:48 PM   #3
Cyber Fucker
Hmm
 
Cyber Fucker's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: On an endless road around the world for rock and roll.
Posts: 12,642
Quote:
Originally Posted by split_joel View Post
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.
Thank you for the help! I think this is answering my question!
__________________
Cyber Fucker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-06-2009, 05:35 PM   #4
fatfoo
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]
fatfoo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-06-2009, 09:50 PM   #5
pornpf69
Too lazy to set a custom title
 
pornpf69's Avatar
 
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...
pornpf69 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-06-2009, 09:52 PM   #6
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
.php files should be 644
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-07-2009, 01:42 AM   #7
split_joel
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
split_joel is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-07-2009, 08:22 AM   #8
Cyber Fucker
Hmm
 
Cyber Fucker's Avatar
 
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.
__________________
Cyber Fucker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-08-2009, 01:35 PM   #9
CamsMaster
Confirmed User
 
Join Date: Mar 2009
Posts: 1,200
you can find a lot of doc and example asking google
CamsMaster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.