View Full Version : CHMOD Settings
dancue
03-14-2008, 10:51 PM
What CHMOD settings should I be using for files uploaded?
Is there a standard. I'm a bit confused.
I usually leave all files at 644 and folders at 755. Is that correct?
I'm using CuteFTP if that matters.
RCWong
03-14-2008, 11:01 PM
Hi dancue,
Generally you can leave the CHMOD settings alone, unless the instructions or readme specify a specific CHMOD setting for that file or folder.
Ryan
notrious
03-14-2008, 11:03 PM
well so far you don,t need you play with chmod.. just upload all files..
if it,s vbulletin installtion... but if it,s any hack read ... instr first..
snakes1100
03-14-2008, 11:12 PM
Yes, the standard is 644 for files, unless other wise noted, 755 is the standard for folders to be readable for the public.
Here is a basic Article (http://tldp.org/linuxfocus/English/January1999/article77.html) for you to read.
dancue
03-15-2008, 12:28 AM
Thank you all for your help.!!
DivisionByZero
03-15-2008, 12:29 AM
644 is good for execution, however, when considering writable files and directories you have two options, which i pick option #2, personally:
1. CHMOD 777
2. CHMOD 644, setting ownership to "apache".
dancue
03-16-2008, 06:16 PM
When using CuteFTP it automatically uploads ALL files to 755, whether it's a folder or file.
When I upload through my server's control panel it will automatically upload 644 for files and 755 for folders.
here are my questions:
1 - What is the risk of leaving all files as 755?
2 - Any CuteFTP user's know how to change the settings to automatically give 644 for files and 755 for folders?
--------------- Added 1205718103 at 1205718103 ---------------
For those of you interested, I decided to move on to another FTP Client.
I'm using CyberDuck (http://cyberduck.ch/) now for the Mac and it will allow you to automatically change the permissions for folders and files.
It's also free. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.