How do I chmod 777 files?

Discussion in 'Programming' started by drmike, Feb 15, 2008.

  1. #1
    Hi there, I am trying to install a youtibe clone and it is asking me to chmod 777 some directories and files. I googled it but must admit it all looks like German to me :( I somewhat gathered I needed to change the permission to be read and write, and I did do this through GoDaddy file manager, but when attemping to install its still telling me i need to chmod 777 these files. Anyone have any advice to send me in the right direction?

    It would be greatly appreciated.
     
    drmike, Feb 15, 2008 IP
  2. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #2
    777 is read, write and execute permissions for owner, group and world. Essentially, make sure that you give every permission you can to both the files and the directory/ies that those files are in...
     
    TwistMyArm, Feb 15, 2008 IP
  3. meetbro

    meetbro Banned

    Messages:
    911
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #3
    you can do from your ftp software. right click the page you want to chmod. :)
     
    meetbro, Feb 15, 2008 IP
  4. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #4
    be careful allowing 777 permissions to folder. Although many insist that it is not that harmful, anybody can upload any script to compromise your server. be sure to check the type of file before allowing to upload.

    You can find a good work around for 777 permissions here:
     
    olddocks, Feb 15, 2008 IP
  5. lephron

    lephron Active Member

    Messages:
    204
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #5
    if you have shell access then you literally run the "chmod" command :)

    eg. "chmod -R 777 public_html/public/" will recursively make the public directory and all it's contents readable, writable, and executable by everyone
     
    lephron, Feb 15, 2008 IP
  6. drmike

    drmike Well-Known Member

    Messages:
    1,288
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    110
    #6
    I am still totally lost. I tried switching from a microsoft server to a linux server which more easily allows me to change the settings for files, but it will not let me do it for an actual folder, which is what the install is telling me I need to do. Whenever I try to change the permission of the foler id just changes the permissions of all the files contained in the folder. Anyways, I appreciate all your responses but I think I may just have to throw in the towel on this one:(
     
    drmike, Feb 15, 2008 IP
  7. richer2004

    richer2004 Guest

    Messages:
    406
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #7
    CHMOD With File Manager
    1. Go to the folder where you uploaded youtibe clone (public_html).
    2. Click on the directories and files name.
    3. In the right hand menu which appears click on the ‘Change Permissions’ link.
    4. Tick the 9 boxes which appear.
    5. Click on the button named ‘Change’ to CHMOD the file...

    CHMOD With Cute FTP
    1. Go to the folder where you uploaded youtibe clone (public_html).
    2. Right click the file or directory name.
    3. Select CHMOD from the menu which appears.
    4. Tick all of the boxes or enter 777 into the Manual Input box.
    5. Click on the button named ‘OK’ to CHMOD the file...
     
    richer2004, Feb 16, 2008 IP
  8. adam.jn

    adam.jn Member

    Messages:
    81
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #8
    You right click on the file in an FTP program and click on properties, then in the box with 3 number in it, type 777 and then save it. You need to do this to all files and folders that it is required for. Hope this helps.
     
    adam.jn, Feb 16, 2008 IP
  9. lukcy

    lukcy Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    yes for a beginner of a linix / unix user - the ftp software is better
     
    lukcy, Feb 17, 2008 IP