Current time: 09-09-2010, 02:23 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CHMOD
05-17-2009, 06:10 AM (This post was last modified: 05-17-2009 06:17 AM by Aizal.)
Post: #1
CHMOD
General Information
When using UNIX systems it is sometimes necessary to change file permissions, which is done using the CHMOD command.
While we always recommend that you check your documentation, basically there are two different methods you can select from in order to CHMOD a file:

  1. Certain FTP clients, such as Cute FTP and WS/FTP Pro, allow CHMODing to be done directly within the FTP. In order to achieve this you need to highlight the file that you want to use and then select "change file permissions” from the command menu.
  2. The second option is "manual” CHMODing. In order to achieve this you need to enter the designated CHMOD.



Reasons for CHMODing
CHMODing files is done for a variety of reasons. You CHMOD files to: mark them executable, give them write permission, restrict access to them, etc.

It is important to note that CHMODing files is going to be nearly impossible to avoid. If you are trying to run certain CGI script, then this may require you to execute permission on the script itself, write permission on a directory, and read on an informational page. Here, your CGI script should contain documentation that will inform you of the proper CHMOD procedure (if any).


List of CHMOD's and what they mean.
  • CHMOD 777 file: available to owners, groups and the world at large in order to Read, Write and Execute.
  • CHMOD 755 file: available to owners to Read, Write and Execute; and to groups and the world at large to Read and Execute only.
  • CHMOD 644 file: available to owners to Read and Write; and to groups and the world at large to Read only.
  • CHMOD 666 file: available to owners, groups and the world at large in order to Read and Write.

ElevatedServers.net
"Rise Above The Rest"
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


HomeWeb HostingReseller HostingVPSSupport HubForumAffiliates
Copyright © 2009 ElevatedServers.net All Rights Reserved.
Finding a quality hosting provider couldn’t be more affordable
Policies | AUP | Terms Of Services