Adgust multiple CHMOD at the same time

Discussion in 'Site & Server Administration' started by pr0xy122, Oct 25, 2006.

  1. #1
    Ive realised when installing scripts changing the CHMOD can be kind of time consuming, is there a way that I can change serveral folders CHMOD setting at one time? thanks ;) .

    Pr0x.
     
    pr0xy122, Oct 25, 2006 IP
  2. vagrant

    vagrant Peon

    Messages:
    2,284
    Likes Received:
    181
    Best Answers:
    0
    Trophy Points:
    0
    #2
    vagrant, Oct 25, 2006 IP
  3. blueoceanwave

    blueoceanwave Peon

    Messages:
    210
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    most of the FTP software can let you do this, such as FileZilla
     
    blueoceanwave, Oct 25, 2006 IP
  4. hgsupb

    hgsupb Peon

    Messages:
    65
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you have ssh access it is easy to run chmod command for all files at once.

    Simple example:

    you have the folder "test" which contains files you want to change permissions for.

    you need just to run "chmod -R 644 ./test" on this folder. All files
    and folder under test will be set to 644 permission. You can run more
    complicated command to set needed permissions for a certain type of
    files of folders only by using "find and grep" commands.

    Hope this helps:)
     
    hgsupb, Oct 25, 2006 IP
  5. pr0xy122

    pr0xy122 Peon

    Messages:
    1,649
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #5
    its aight, i figured it out like 5 minutes after I made the post, thanks for the help anyway guyz.
     
    pr0xy122, Oct 25, 2006 IP