icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Search Me! » [Article] Permissions Please! A Guide to CHMOD

Search Me! Lots of information is found in this board. You can also ask general questions here if you'd like! This is the last stop on Surmunity.

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old March 19th, 2008, 6:45 PM   #1 (permalink)
URB4N 5K1LLZ
Super #1
 
Roxy's Avatar
 
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,660 posts
Gave thanks: 81
Thanked 128 times
[Article] Permissions Please! A Guide to CHMOD

What is CHMOD

CHMOD is the changing of modes of different files and folders (directories) within a server.
Modes in other words are permissions.

There are two types of forms of creating permissions, Alpha and Octal. Alpha meaning alphanumeric (using both letters and numbers) and octal meaning numerals (0-7, base of 8). In this article I will cover the basic octal or absolute permissions that you can set for files and folders.

Why Do I Need to CHMOD Files & Folders?
There are a number of reasons why you will need to set certain permissions for files, one of them being for the security of your file. The other being that most scripts cannot work until you have set permissions to them (most likely for the security reasons).

Commonly Used Permissions
Below are the commonly used permissions the most user use and their meanings.

644 - Means that the user can read and write (edit) the file, while a group or other can only read it.
755 - Means that the user can read, write, and execute, while a group or other can only read and execute
777 - Means that both user, group, and other can read, write, and execute the file.

Setting permissions to 777 can be the most unsafe mode that you can set to a file or folder. Although some scripts tell you to set permissions to this number, most servers have PHP SuExecs enabled, which allows you to set permissions to 755 and not have the security fault that 777 may ensue.

User - Meaning the user being you or the person to set the permissions.
Group - Meaning the outside user, who has certain permissions to the file(s). This depends on the "user".
Other - Meaning the outside source, like a robot or script itself, that has nothing to do with the user or group.

Will write more soon!
__________________
Roxanne


Urban Roxy -Personal Blog
SH63 - the best darn shared server!
Roxy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 19th, 2008, 6:53 PM   #2 (permalink)
Bow before Surpass!
Super #1
 
Joined in Sep 2004
1,547 posts
Gave thanks: 91
Thanked 49 times
Might want to include who/what the user, group, and other are exactly

Just trying to help, of course!
__________________
GamingHybrid is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 19th, 2008, 6:59 PM   #3 (permalink)
URB4N 5K1LLZ
Super #1
 
Roxy's Avatar
 
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,660 posts
Gave thanks: 81
Thanked 128 times
No, your help is very much appreciated. =) I've actually have a lot more to add to this. =)
__________________
Roxanne


Urban Roxy -Personal Blog
SH63 - the best darn shared server!
Roxy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On