attr_set_fd

Name

attr_set_fd -- set RSBAC attributes on the selected file or directory

Synopsis

attr_set_fd [-vrna] [-Vversion] {module} {target-type} {value} [file/dirname(s)]

Description

If you want to change RSBAC attribute for some file or directory, you can use the attr_set_fd utility. Check appropriate documentation about possible attributes and values for the module you want to administrate or use -a option to see full list.

Options

-v

verbose output

-r

recurse into subdirs, attributes will only be set for targets of the given type

-n

list all requests

-a

list attributes and values

-V version

supply RSBAC integer version number for upgrading

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 file object target types: FILE, DIR, FIFO, SYMLINK, DEV or FD. FD target type lets the system decide between FILE, DIR, FIFO and SYMLINK, but no DEV.