• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Permission Table for a File/Directory And File System Users Types

by admin

The goal of the post is to give brief information about the types of user for a filesystem and the permission available for a file/directory.

The table below gives numbers for all for permissions types of a File/Directory

Number   Permission Type             Symbol
0   No Permission                —
1   Execute                      –x
2   Write                        -w-
3   Execute + Write              -wx
4   Read                         r–
5   Read + Execute               r-x
6   Read +Write                  rw-
7   Read + Write +Execute        rwx

For example 777 permission to /etc folder means the folder has all the read, write and executable permissions for owner,group and all users.

  • Owner – The Owner permissions apply only the owner of the file or directory, they will not impact the actions of other users.
  • Group – The Group permissions apply only to the group that has been assigned to the file or directory, they will not effect the actions of other users.
  • All users – The All Users permissions apply to all other users on the system, this is the permission group that you want to watch the most.
Linux File/Directory Permissions cheat sheet

Filed Under: Linux

Some more articles you might also be interested in …

  1. watch Command Examples in Linux
  2. mke2fs: command not found
  3. fprintd-delete Command Examples in Linux
  4. gs Command Examples in Linux
  5. fakeroot: command not found
  6. How to Change or Rename a Mount Point in Linux
  7. mkfs.ntfs: command not found
  8. How to Start, Stop and Restart Zimbra Service
  9. cryptcat: command not found
  10. create_ap Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright