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

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

 



edwardspl@xxxxxxxxxx wrote:

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

So.. only chmod 1770 /home/edward

It's your choice. The permission bits are the same any way you say it, but it is best to use the way that you understand and do an 'ls -ld' on the directory after the chmod to be sure it is right. Remember, the object of this is to set the directory owner/modes so that the user can still create/remove his own files but can't remove/replace certain files that you will chown to root.

--
  Les Mikesell
   lesmikesell@xxxxxxxxx


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux