Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

The CHMOD (attributes) Command

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bliner
    Banned
    • Jun 2010
    • 333

    The CHMOD (attributes) Command

    The chmod command is used to change permissions on Files and Directories. There are several ways you can change permissions:
    Using telnet and running the command on the files (like "chmod 755 *.cgi").
    Using an FTP client that supports a "change permissions" or "CHMOD" function. Usually, this is accessible by right-clicking on the file.
    Using the QUOTE command from a FTP client (like "QUOTE SITE CHMOD 755 post.cgi")
    The numbers are bits that are added together: 4=read, 2=write, 1=execute. So, all of the combinations are:
    0 = no permissions
    1 = execute only
    2 = write only
    3 = write/execute
    4 = read only
    5 = read/execute
    6 = read/write
    7 = read/write/execute (full permissions)
    The three positions are owner, group, and world permissions. For example, 755 means full permissions for the owner and read/execute permissions for everybody else. Use this guide if your FTP client doesn't use the number system.
    If you are on an NT system, you don't need to worry about it. NT systems don't have a way of remotely changing the permissions of a file or directory, so your WHS has made sure there is no way of encountering permission problems.

    If like me you use Cute FTP the way to chmod a File
    or Directory is to just right click on the required File in the
    remote window (they are the Files already uploaded)
    and click on Change File Attributes.
Working...