Website Babble Webmaster Forums  
     Click to Download a Free, 3 Column CSS Web Template | Watch Instructional Video
  #1 (permalink)  
Old 03-09-2008, 11:06 PM
Junior Babbler
 
Join Date: Mar 2008
Posts: 10
Default What is Chmod 777?

can anybody tell me what this is and how can i go to this directory. cause i'm trying to download a script into my server and the instructions on the scrip is this, "please make sure the log directory is writable (chmod 777). " so how can i do that?
Reply With Quote
  #2 (permalink)  
Old 03-09-2008, 11:25 PM
James's Avatar
Master Babbler
 
Join Date: Dec 2007
Posts: 320
Default For what it's worth.

rgbujoy18

This is a unix command. Can't tell you a lot because I don't work with unix myself, but I can tell you that the chmod 777 command makes a file on unix server available to read, write, etc.

Check out http://www.zzee.com/solutions/unix-permissions.shtml
which explains unix permissions,
and
http://www.zzee.com/solutions/chmod-help.shtml
which is the chmod help file.

Good Success!

James
Reply With Quote
  #3 (permalink)  
Old 03-09-2008, 11:52 PM
Junior Babbler
 
Join Date: Mar 2008
Posts: 10
Default follow up question

i've done reading it and i notice that my FTP client doesnt have that permission to edit unix. do you know or can give me some idea what FTP client software that can do that? and also free to download. thanks
Reply With Quote
  #4 (permalink)  
Old 03-10-2008, 12:24 AM
Regular Babbler
 
Join Date: Mar 2008
Location: Champaign, IL
Posts: 68
Default

Im a linux junky, so I'll try to explain it...I'm sure the sites above give a good explaining.. but who wants to visit another site?

chmod stands for "Change Mode".

The numbers part is a little more complicated.... "777" is three numbers..to be nerdy and specific.. it is three 3 digit binary (base 2) numbers converted into three 1 digit octal (base 8) numbers.

The first number stands for "user", the second group stands for "group" and the final number stands for "other". There are three possible things that can be done with a file: read, write, and execute.. Here is a little reference:

execute = 001 in binary = 1 in octal
write = 010 in binary = 2 in octal
read = 100 in binary = 4 in octal

So where does the 7 come from?

7 in binary = 111 in decimal = read, write, execute

So you get:

read write execute = 111 = 1 + 2 + 4 = 7
read write no execute = 110 = 4 + 2 = 6
read no write execute = 101 = 4 + 1 = 5
read no write no execute = 100 = 4
no read write execute = 011 = 2 + 1 = 3
no read write no execute = 010 = 2
no read no write execute = 001 = 1
no read no write no execute = 000 = 0

Make sense?

To make a file "chmod 777" you would simply type:

chmod 777 filename.ext

in the terminal.
__________________
Rate-My-Website.com

Last edited by psychdev; 03-10-2008 at 12:59 AM.
Reply With Quote
  #5 (permalink)  
Old 03-10-2008, 12:25 AM
Regular Babbler
 
Join Date: Mar 2008
Location: Champaign, IL
Posts: 68
Default

I'm pretty sure you should be able to use an SSH client, such as PuTTY to edit unix
__________________
Rate-My-Website.com
Reply With Quote
  #6 (permalink)  
Old 03-10-2008, 12:55 AM
Regular Babbler
 
Join Date: Sep 2007
Location: New York City
Posts: 98
Default

To chmod a file on your host from windows:
  • Open your site in the ftp program
  • Right click on the file on your site you want to chmod
  • Select properties
  • Enter 777

chmod sets permissions for a file eg: read, write, execute for the owner (you) and guests (any one who views the file...this includes programs). 777 means anyone can do anything with the file.

--Mike
__________________
Profitable Websites Blog at Keys To Profitable Websites
| Birth Control Pills
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not 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



All times are GMT -6. The time now is 08:45 PM.



WB Sponsors

Profit Lance Review

WEB MARKETING



 Subscribe to the Website Babble Feeds

The place where beginners learn how to create a website.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0