Help for this page

Select Code to Download


  1. or download this
    use constant OTHER_READ => 0004
    use constant OTHER_WRITE => 0002;
    ...
    use constant OWNER_READ => 0400;
    use constant OWNER_WRITE => 0200;
    use constant OWNER_EXEC => 0100;
    
  2. or download this
    use constant OTHER_READ => sprintf("%.4o", 0004)