Skip to content

Commit

Permalink
small fixes of typos and better readability
Browse files Browse the repository at this point in the history
  • Loading branch information
HereThereBeDragons committed Jan 29, 2024
1 parent b774e79 commit faadeb4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions cpt-details.rst
Original file line number Diff line number Diff line change
Expand Up @@ -728,8 +728,8 @@ machine and errors are returned as signals. The human-readable output includes a
descriptive header, including how many pages are available and instructions how to access
them. Errors are returned as plaintext with possible instructions how to resolve the issue.

Furthermore, ``<attr>~?`` and ``<attr>@?`` allow retrieving information about the attribute.
At the moment, this consist only to get the number of pages the attribute has.
Furthermore, ``<attr>~?`` and ``<attr>@?`` allow retrieving additional information about the attribute.
At the moment, this consist only of the number of pages the attribute has.

Different pages of the attribute can be accessed with ``<attr>~<page num>`` and ``<attr>@<page num>``
Pages start at 0.
Expand All @@ -739,10 +739,10 @@ The commands also work with single page attributes (page number is 0).
======================= =======================================================================
**Parameter** **Meaning**
======================= =======================================================================
``<attr>@?`` Human-readable information about the attribute
``<attr>~?`` Machine-readable (CSV format) information about the attribute
``<attr>@<page num>`` Output of the attribute with descritive header. Page numbers starting from 0. Errors are returned as plaintext.
``<attr>~<page num>`` Output of the attribute. Page numbers starting from 0. Errors are returned as signals.
``<attr>@?`` Human-readable information about the attribute.
``<attr>~?`` Machine-readable (CSV format) information about the attribute.
``<attr>@<page num>`` Output of the attribute with a descriptive header. Page numbers are starting from 0. Errors are returned as plaintext.
``<attr>~<page num>`` Output of the attribute. Page numbers are starting from 0. Errors are returned as signals.
======================= =======================================================================


Expand All @@ -751,15 +751,15 @@ Restricting Access to Extended Attributes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Access to extended attributes can be restricted in the client config to
``root`` and users with a specific (main) ``gid`` listed by
``root`` (``gid=0``) and users with a specific (main) ``gid`` listed by
``CVMFS_XATTR_PRIVILEGED_GIDS``. Extended attributes to which
this should apply are listed in ``CVMFS_XATTR_PROTECTED_XATTRS``.
Note that those attributes must be listed in their full name, e.g. ``user.fqrn``,
``user.rawlink`` or ``xfsroot.rawlink``. Most of the extended attributes
will have the prefix ``user.``. If uncertain, they can be looked up in the source
code of ``cvmfs/magic_xattr.cc``.

Example that only users with ``gid=788`` (and ``root``) can access the repository name
Example: Only users with ``gid=788`` (and ``root``) can access the repository name

::

Expand Down

0 comments on commit faadeb4

Please sign in to comment.