<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=Big5" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Tim wrote:
<blockquote cite="mid1170926488.20105.8.camel@giggles.lan.cameratim.com"
type="cite">
<pre wrap="">On Thu, 2007-02-08 at 16:38 +0800, <a class="moz-txt-link-abbreviated" href="mailto:edwardspl@ita.org.mo">edwardspl@ita.org.mo</a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">But I want to know what no of g+rwx
</pre>
</blockquote>
<pre wrap=""><!---->
The RWX bits are binary flags in most significant order.
Some examples:
RWX = 111 (binary)
RW- = 110 (binary)
The least-significant bit (rightmost) is worth one, the middle is worth
2, the most significant bit is worth four.
Some examples:
RWX = 4 + 2 + 1 = 7 (decimal)
R-X = 4 + 0 + 1 = 6 (decimal)
R-- = 4 + 0 + 0 = 4 (decimal)
Since we're only counting up as far as 7, you can use those numbers
directly as octal. From 0 to 7, octal, hexadecimal, and decimal numbers
are all represented by the same symbols.
As above with RWX=7 and R=4,
u=RWX, g=RWX o=R-- (user, group, others) = 0774 (octal, with a leading
zero to indicate that it is octal)
</pre>
</blockquote>
<font size="-1">Hello,<br>
<br>
So...What no for the following setting ?<br>
</font>1, g+rwx<br>
2, +t<br>
<br>
Edward.<br>
</body>
</html>