Tightening security: not for the impatient
Posted Jul 21, 2012 11:30 UTC (Sat) by
anselm (subscriber, #2796)
In reply to:
Tightening security: not for the impatient by mathstuf
Parent article:
Tightening security: not for the impatient
Hard-linked files do share the same permissions – permissions are stored on the file's inode and hard links are just extra directory entries that point to the same inode.
Linux will not let you create a hard link to an executable file that is marked suid but doesn't belong to you. Making hard links to a file that you own yourself is fine regardless of whether that file is suid or not, and does not impinge on the suid status of the file.
(
Log in to post comments)