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.
- 02-20-2004 #1Just 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...
- 02-20-2004 #2Linux 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


Reply With Quote
