Linux Permissions

    Contents

  1. Listing permissions
  2. Changing permissions
  3. Special file permissions

Every file or directory has a permission on Linux.

Listing permissions #

  • ls -l
  • stat

Changing permissions #

  • Change mode (chmod)
  • Change owner (chown)
  • Change group (chgrp)

Special file permissions #

  • SUID
  • SGID
  • Sticky Bit