1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

What is Chmod777?

Discussion in 'Databases' started by D89, Dec 21, 2008.

  1. #1
    I am working with a script and the instructions are as follows.

    4. Upload all the files into your server...
    5. Chmod to 777 the ebooks, pictures, and smallpictures folder


    what does chmod777 mean and how do I do it?

    thanks
     
    D89, Dec 21, 2008 IP
  2. wisdomtool

    wisdomtool Moderator Staff

    Messages:
    15,825
    Likes Received:
    1,367
    Best Answers:
    1
    Trophy Points:
    455
    #2
    Chmod mod refers to the permission of the files

    1 is for execute
    2 for read
    4 for write

    They add up to 7, for 7 you are giving all rights read,write and execute.

    The 3 "7" refers to
    owner
    group
    user

    777 is quite dangerous as it is free for all, do so only when it is absolutely necessary.
     
    wisdomtool, Dec 21, 2008 IP
    a$$-wise likes this.
  3. webdesigners

    webdesigners Banned

    Messages:
    534
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #3
    CHMOD option is used to make a file rewritable on server, where any software can install their components on your server easily as you have made the option chmod i.e 777.
     
    webdesigners, Dec 21, 2008 IP
  4. thuankkk

    thuankkk Active Member

    Messages:
    503
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    95
    #4
    Try www.bossftp.com to do chmod online:

    1. Go to www.bossftp.com, use your FTP info to login,
    2. Go to folder contains ebooks, pictures, and smallpictures folder
    3. Select them (click on the rows or checkboxes), and click Chmod in line Selected items
    4. Enter 0777 and press Enter.
    That's it.
    Hope this helpfull ^_^

    PS: Don't say "I'm afraid my info will be stolen". Create a sub FTP account to use with BossFTP, as explain at http://www.bossftp.com/help.php#sub
     
    thuankkk, Dec 21, 2008 IP
  5. rock_dude7

    rock_dude7 Banned

    Messages:
    258
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Right click on the files or folders, select change permissions tick all the colums, and you are done...!
     
    rock_dude7, Dec 21, 2008 IP
  6. JustAStranger

    JustAStranger Guest

    Messages:
    141
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Ehm before you chmod 777 think about it ;)
    It means read write execute for everyone.
    If you are on a shared host where people have shell access you might give other people on the host the ability to modify your stuff.
    Can be abused easily
     
    JustAStranger, Dec 21, 2008 IP
  7. harrisunderwork

    harrisunderwork Well-Known Member

    Messages:
    1,005
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    135
    #7
    Shared host doesn't mean that user A can access the files of user B.

    CHMOD is used to grant permissions.

    Example :

    $ chmod 777 abc.php

    More info : http://en.wikipedia.org/wiki/Chmod
     
    harrisunderwork, Dec 21, 2008 IP
  8. D89

    D89 Peon

    Messages:
    31
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Yeah but what does this site do with it?
     
    D89, Dec 21, 2008 IP
  9. D89

    D89 Peon

    Messages:
    31
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Is it mandatory to have the files in Chmod777 since they seem unsafe? Do I have a choise around that?

    Its an ebook store site,

    what if I dont do the chmod777 what will happen?
     
    D89, Dec 21, 2008 IP
  10. rajib.bahar

    rajib.bahar Active Member

    Messages:
    87
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    68
    #10
    It will depend on the script or app that you're running... It's not mandatory to have 777 on all files and directories. If you do not set this option to the right directories required by the program then it may fail in the middle of installation, which may become a nightmare to fix.

    When it comes to unix...if you're not sure then type in man and the name of the command which will give you additional reference materials...
     
    rajib.bahar, Dec 22, 2008 IP
  11. geek4ever

    geek4ever Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Frankly speaking D89 ; If your website vendors says you should CHMOD777 on certain file and folders, do just that or the script wont install. Believe me, i've been there.
     
    geek4ever, Dec 22, 2008 IP
  12. Dollar

    Dollar Active Member

    Messages:
    2,598
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    90
    #12
    It means your script needs to have Write permissions on the ebooks, pictures, and smallpictures folder or else the script will not work. Also I'm little skeptical of why it would need write permissions on ebooks. Is your script opening up the ebooks and modifying them? Very strange , but that is what it is.
     
    Dollar, Dec 22, 2008 IP
  13. D89

    D89 Peon

    Messages:
    31
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #13
    It's actually an ebook store script.

    I dont know what the write permition is for.

    Either way the script is not working and its really getting to me now
     
    D89, Dec 22, 2008 IP
  14. cute_girl9867

    cute_girl9867 Banned

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    for permission of files in you database ;)
     
    cute_girl9867, Dec 22, 2008 IP
  15. thuankkk

    thuankkk Active Member

    Messages:
    503
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    95
    #15
    You can use BossFTP as a FTP client. Simply connect and do every thing you want :) It support Chmod, too.

    Hope this helpfull.
     
    thuankkk, Dec 24, 2008 IP
  16. socialbookmarker007

    socialbookmarker007 Peon

    Messages:
    159
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #16
    you already got a lot of answers...
     
    socialbookmarker007, Dec 25, 2008 IP
  17. tradeya

    tradeya Notable Member

    Messages:
    5,729
    Likes Received:
    275
    Best Answers:
    0
    Trophy Points:
    230
    #17
    I use Cuteftp and it just do a properties click to change chmod permission. pretty easy to use.
     
    tradeya, Dec 25, 2008 IP
    cchetanonline likes this.
  18. MactonxD

    MactonxD Banned

    Messages:
    113
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #18
    Read - Write - Run.


    Don't play with CHMOD kid you can get messed up with Internal Server Error!
     
    MactonxD, Dec 25, 2008 IP
  19. winproxy

    winproxy Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #19
    its true :)
     
    winproxy, Dec 25, 2008 IP
  20. amazingserviceprovider

    amazingserviceprovider Peon

    Messages:
    395
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #20
    777 - refers to read, write, and execute.
     
    amazingserviceprovider, Dec 25, 2008 IP