UPDATE: FEB 29, 2016 - Website Babble is not allowing new registrations but will remain open for now. If you want to find out why, click here. If you want to receive updates on what I plan to do with the forum next, go here.


Page 1 of 3 123 LastLast
Results 1 to 15 of 35

Thread: What is Chmod 777?

  1. #1
    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?

  2. #2
    Join Date
    Dec 2007
    Location
    Alexandria, MN USA
    Posts
    6,838

    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

  3. #3
    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

  4. #4
    Join Date
    Mar 2008
    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.
    Last edited by psychdev; 03-10-2008 at 12:59 AM.

  5. #5
    Join Date
    Mar 2008
    Posts
    68

    Default

    I'm pretty sure you should be able to use an SSH client, such as PuTTY to edit unix

  6. #6
    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

  7. #7
    Join Date
    Aug 2009
    Posts
    2

    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

  8. #8
    Join Date
    Aug 2009
    Posts
    2

    Default

    Edit: I meant to tell you that I joined this board just to say thanks!

  9. #9
    Join Date
    Jun 2009
    Location
    Croatia
    Posts
    213

    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.

  10. #10
    Join Date
    Sep 2009
    Location
    Gilbert AZ
    Posts
    76

    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.

  11. #11
    Join Date
    Oct 2009
    Posts
    12

    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.

  12. #12
    Join Date
    Nov 2009
    Posts
    11

    Thumbs up

    Quote Originally Posted by rgbujoy18 View Post
    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?
    This gives fullaccess to everyone of ur files..
    dnt ever make any folder 777

  13. #13
    Join Date
    Nov 2009
    Posts
    1

    Default

    If it says to chmod 777 a folder, should we apply it to its subfolders too?

  14. #14
    Join Date
    Nov 2009
    Posts
    10

    Default

    Chmod 777 means is the attributes of the file that set into at writable attributes.

    To enable this set, you must right click the files or folders and set into 777. Your files and folders are now set in chmod 77 attributes.

  15. #15
    Join Date
    Aug 2009
    Location
    India
    Posts
    25

    Default

    Alright, If you are on a shared server that is not chrooted on ftp or ssh login other users will be able to navigate throughout your directories. If you have your attachments directory chmodded to 777 but its parent to 770 then they will not be able to do this as they will not be able to reach the parent.
    __________________
    Dainik Bhaskar
    Bhaskar News
    Dainik Bhaskar News
    Last edited by DavidBoon; 06-30-2010 at 12:20 AM.

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


|mobil porno |uzun pornolar |türkçe altyazılı porno |altyazılı porno |zenci porno | |lezbiyen |android porno |rahibe porno |okul porno |anne porno |web tasarım çekmeköy |web tasarım ümraniye |reklamcı çekmeköy |çekmeköy ilanlar |oto servis çekmeköy |oto anahtar kopyalama |oto anahtarci ümraniye |oto anahtarci çekmeköy |