summaryrefslogtreecommitdiff
path: root/getcifsacl.rst.in
blob: b7645fac9aaf636cb839bc6471fae60020ffc724 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
==========
getcifsacl
==========

--------------------------------------------------------------------------------------------------
Userspace helper to display an ACL in a security descriptor for Common Internet File System (CIFS)
--------------------------------------------------------------------------------------------------
:Manual section: 1

********
SYNOPSIS
********

  getcifsacl [-v|-r] {file system object}

***********
DESCRIPTION
***********

This tool is part of the cifs-utils suite.

``getcifsacl`` is a userspace helper program for the Linux CIFS client
file system. It is intended to display a security descriptor, including
DACL and SACL for a file system object.

This program uses a plugin to handle the mapping of SIDs to user and
group names. *@pluginpath@* should be a symlink that points to the
correct plugin to use.

Fields of an ACE such as SID, type, flags, and mask are displayed
separated by /. Numeric values of type, flags, and mask are displayed
in hexadecimal format.

*******
OPTIONS
*******

-v
  Print version number and exit.

-r
  Display a security descriptor in raw mode. Values such as type and
  flags are displayed in hexadecimal format, a SID is not mapped to a
  name.

-R
  List the ACLs of all files and directories recursively.

*****
NOTES
*****

Kernel support for getcifsacl/setcifsacl utilities was initially
introduced in the 2.6.37 kernel.

********
SEE ALSO
********

mount.cifs(8), setcifsacl(1)

******
AUTHOR
******

Shirish Pargaonkar wrote the getcifsacl program.

The Linux CIFS Mailing list is the preferred place to ask questions
regarding these programs.