attr_get_fd

Name

attr_get_fd -- fetch RSBAC attributes from files or directories

Synopsis

attr_get_fd [-vrnea] {module} {target-type} {attribute} [file/dirname(s)]

Description

You need attr_get_fd to get RSBAC attribute values for filesystem objects. There are different attributes for different RSBAC modules. Check appropriate documentation about possible attributes for module you want to administrate or use -a option to see full list.

Options

-v

verbose program output

-e

show effective (maybe inherited) value instead of real values. See appropriate documentation about difference between effective and real access rights.

-r

walk recursively into subdirs

-n

list all requests. Full target and request lists are in the "Targets and Requests" chapter of the RSBAC documentation.

-a

list attributes and values

module

One of the possible RSBAC modules, e.g., GEN, MAC, FC, SIM, PM, MS, FF, RC or AUTH.

target-type

One of the possible RSBAC target types, e.g., FILE, DIR, FIFO, SYMLINK, DEV or FD (FD: all of FILE, DIR, FIFO and SYMLINK, but no DEV))