Re: [Fwd: User account ( hacked ) of FC6 System]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2007-02-08 at 16:38 +0800, edwardspl@xxxxxxxxxx wrote:
> But I want to know what no of g+rwx

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)

-- 
(This PC runs FC4, my others FC5 & FC6, in case that's important
 to the thread)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux