GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   .php files permisions (https://gfy.com/showthread.php?t=931954)

Cyber Fucker 10-06-2009 04:26 PM

.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? :helpme

split_joel 10-06-2009 04:29 PM

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.

Cyber Fucker 10-06-2009 04:48 PM

Quote:

Originally Posted by split_joel (Post 16402876)
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! :thumbsup

fatfoo 10-06-2009 05:35 PM

Yeah, you can just chmod it to whatever permission you want when you upload it.

pornpf69 10-06-2009 09:50 PM

generally PHP files that are uploaded to the servers get the 755 permission
while directories have 750...

fris 10-06-2009 09:52 PM

.php files should be 644

split_joel 10-07-2009 01:42 AM

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

Cyber Fucker 10-07-2009 08:22 AM

Thx for all replays. I've chmoded all .php's to 644 just in case. :thumbsup

CamsMaster 10-08-2009 01:35 PM

you can find a lot of doc and example asking google


All times are GMT -7. The time now is 05:53 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123