Results 1 to 4 of 4

Thread: chmod

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Location
    medina, OH
    Posts
    125

    chmod

    ok i know how to chmod a file but in the script i'm using the instructions say to chmod some files to 755 and some to 666 but on my host to chmod something i cant put in a number i have to choose between Owner>read, write, execute
    Group>read, write, execute and Other>read, write, execute
    how do i set them to those numbers?
    "Sometimes the only way you can feel good about yourself is by making someone else look bad And I'm tired of making other people feel good about themselves"-Homer Simpson

  2. #2
    Cheeko
    Guest
    read = 4
    write = 2
    exec = 1

    To get 666 you must make them add up to 6 on each. So you would check read and write on all three.
    755 would be read, write and exec on the the first and just read and exec on the last two.

    Hope this helps

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Location
    medina, OH
    Posts
    125
    exactly what i needed thanks
    "Sometimes the only way you can feel good about yourself is by making someone else look bad And I'm tired of making other people feel good about themselves"-Homer Simpson

  4. #4
    scoutt
    Guest
    you could also use a program like WS_FTP and it will tell you what number you have from the check boxes that are checked.

Posting Permissions

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



Click Here to Expand Forum to Full Width