Questions about how CHMOD works

Discussion in 'Site & Server Administration' started by cc2365, May 29, 2011.

  1. #1
    The questions may sounds silly, but:

    1. If I make a folder CHMOD 700 and a subfolder in it CHMOD 777, can other people on my server write to that subfolder?
    2. If I make a folder CHMOD 744 and a subfolder in it CHMOD 777, can other people on my server write to that subfolder?
    3. If I make a folder CHMOD 755 and a subfolder in it CHMOD 777, can other people on my server write to that subfolder?

    4. If I make a folder CHMOD 777 and a file in it CHMOD 644, can other people on my server modify or delete that file?

    Any answer will be appreciated.
     
    cc2365, May 29, 2011 IP
  2. MarketerScientist

    MarketerScientist Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hey buddy, here is your answer:
    777 Permissions = Read / Write / Execute For Others/Everyone
    644 means that files are readable and writeable by the owner of the file and readable by users in the group owner of that file and readable by everyone else

    Yes to first three questions. No to question number four.

    Enjy :)
     
    MarketerScientist, May 29, 2011 IP
  3. cc2365

    cc2365 Member

    Messages:
    91
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #3
    @MarketerScientist:
    Yeah, I know 777 means read, write and execute permission for everybody on the server. What I don't understand is how these settingss on a folder would apply to its subfolders. So even if I made a folder unaccessible, it's still possible to made subfolders in it accessible, right?
     
    cc2365, May 29, 2011 IP