Go to main content

Oracle® SuperCluster M8 and SuperCluster M7 Security Guide

Exit Print View

Updated: June 2020
 
 

Set the Sticky Bit for World-Writable Files

The sticky bit on a directory prevents files in a world-writable directory from being deleted or moved by anyone except the owner of the file, or the root role. This is useful in directories that are common to many users, such as the /tmp directory.

  1. Log in to one of the compute servers and access the host console as superuser.

    See Log into a Compute Server.

  2. Set the sticky bit on /tmp and on any other world-writable files.
    # chmod 1777 /tmp