Home > AIX, Commands, commands, Linux > Linux – Show ACL permissions

Linux – Show ACL permissions

You can show the access control list permissions of a file with the getfacl command.

Create directory:

$  mkdir dir
$ ls -dl dir
drwxr-xr-x  2 krobbe users 4096 Jul  7 09:40 dir

Show acl permissions of directory:

$ getfacl dir
$ file: dir
$ owner: krobbe
$ group: users
user::rwx
group::r-x
other::r-x

This shows the directory permissions for user, group and other  classes of user.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: