Website Babble Webmaster Forums  


Go Back   Website Babble Webmaster Forums > Creating a Website > Uploading Files / FTP

Your WB Notifications

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-09-2008, 11:06 PM
Junior Babbler
 
Join Date: Mar 2008
Posts: 10
rgbujoy18 has a few positive reputation points
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
Super Moderator
 
Join Date: Dec 2007
Posts: 2,374
James is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation bars
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
rgbujoy18 has a few positive reputation points
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
psychdev has a few positive reputation points
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
psychdev has a few positive reputation points
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
MikeD has a few positive reputation points
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
  #7 (permalink)  
Old 08-13-2009, 03:54 PM
Junior Babbler
 
Join Date: Aug 2009
Posts: 2
xxfishxx has no reputation at Website Babble yet.
Default Thanks!!

Thanks a million for the explanation below. I know all of the other posts are great, but I was lost. I read this post and resolved my problem right away.

Thanks!!!!

Quote:
Originally Posted by MikeD View Post
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
Reply With Quote
  #8 (permalink)  
Old 08-13-2009, 03:55 PM
Junior Babbler
 
Join Date: Aug 2009
Posts: 2
xxfishxx has no reputation at Website Babble yet.
Default

Edit: I meant to tell you that I joined this board just to say thanks!
Reply With Quote
  #9 (permalink)  
Old 08-14-2009, 07:54 AM
McKnight's Avatar
Master Babbler
 
Join Date: Jun 2009
Location: Croatia
Posts: 211
McKnight has more than the average amount of reputation points
Send a message via MSN to McKnight Send a message via Skype™ to McKnight
Default

Total Commander can change the attributes of files on the server... exactly what you need. You should also be able to do that over Cpanel or whatever admin panel you use for your server. Just find the file manager and it should be easy to figure it out.
Reply With Quote
  #10 (permalink)  
Old 10-01-2009, 03:44 PM
cyberprofit's Avatar
Regular Babbler
 
Join Date: Sep 2009
Location: Gilbert AZ
Posts: 33
cyberprofit has a few positive reputation points
Default

If you are modifying the CHMODS to install a script or to set up a script for server handling, make sure you don't change the CHMODs on the wrong files. Doing so can compromise your site to hackers.
Reply With Quote
  #11 (permalink)  
Old 10-29-2009, 01:19 AM
Junior Babbler
 
Join Date: Oct 2009
Posts: 12
vipdistinct has no reputation at Website Babble yet.
Default

You should be able to change CHMODS using most FTP clients, unless your hosting company has restrictions on this. I know my hosting company does but I am able to do it in SSH.
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 09:18 AM.


 Subscribe to RSS

WB Sponsors

Search Engine Optimization

flash chat

Home Jobs Online

Search Engine Marketing

Paid Surveys

Web Design Company

custom website design

Best Links Management Software

Online Advertising Solution FREE trial!



 Subscribe to the Website Babble Feeds

2 Create a Website Homepage | 2 Create a Website Blog


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