cap_get_file


Description:

[ Version ( since = "1.19.63" ) ]
public string cap_get_file (string path) throws Error

get the Linux capabilities attached to a file

This function returns the Linux capabilities attached to path. The capabilities set is returned in text form (see cap_to_text(3)).

If no capabilities are attached to a file, an empty string is returned.

This function depends on the feature "linuxcaps". See also feature_available.

Parameters:

this

A GuestfsSession object

Returns:

the returned string, or NULL on error




2022 vala-language.org