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

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

 



edwardspl@xxxxxxxxxx wrote:

>>>>>>> chmod g+rwx ( What number of g+rwx, eg : ?77 ) /home/edward
>>>> said before the computer does a better job of thinking in octal.
>>> So, +t = 1770, right ?
>> chmod +t ( What number of +t ) /home/edward
>>
>> Again, that is the case where you already have 770 set, but +t really
>> means to add the 1000 bit to whatever was there. You can also specify
>> absolute settings in the symbolic style:
>> chmod u=rwx,g=rwx,o=t file...
>> will set 1770 regardless of what is there and is easier to understand.
>> See 'man chmod' for more details, but it helps to know that the modes
>> are simply bits where 1 gives the permission, 0 does not. The values
>> you compute in octal show the combinations of the bits but they really
>> each only have their own independent meaning so I think the symbolic
>> form makes more sense.
>>
> So... is it correct ?

If you start with

drwx------ /home/edward
the commands

chmod g+rwx /home/edward
chmod +t /home/edward
or
chmod u=rwx,g=rwx,o=t /home/edward
or
chmod 1770 /home/edward

will all give you the same result:
drwxrwx---T  /home/edward

-- 
  Les Mikesell
   lesmikesell@xxxxxxxxx

[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