Find the answer to your Linux question:
Results 1 to 2 of 2
What property mask bits are set for the predefined policy variable 'ReadOnly'? I don't understand all of these settings......
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2004
    Location
    Murray, KY
    Posts
    2

    Predefined Policy with Tripwire...


    What property mask bits are set for the predefined policy variable 'ReadOnly'? I don't understand all of these settings...

  2. #2
    Linux Engineer
    Join Date
    Sep 2003
    Location
    Knoxhell, TN
    Posts
    1,078
    1=execute
    2=write
    4=read

    add together the ones you want to get the three-digit octal number to set permissions with chmod. i.e. ReadOnly=444, Read/Write=666, Read/Execute=555, write/execute=333

    the first number is for the file's owner. the second is for the file's group. the third is for everyone else (other). so to allow yourself all three and everyone else read/execute, type 'chmod 755 <filename>' (w/o quotes).
    Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr

Posting Permissions

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