Skip to content

Commit

Permalink
add doc about new ingest command tarball ownership functions
Browse files Browse the repository at this point in the history
  • Loading branch information
HereThereBeDragons committed Jun 27, 2024
1 parent 9acdf56 commit a5c006c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cpt-repo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,17 @@ removing a directory tree:
The ``ingest`` command internally opens and closes a transaction. Therefore,
it can only run if no other transactions are currently open.

When ingesting a tarball the default is to change the file ownership to the cvmfs repository owner
defined by ``CVMFS_USER`` in ``/etc/cvmfs/repositories.d/<repo>/server.conf``.
In case this is not wanted, the ``ingest`` command offers with

* ``-k`` or ``--keep-ownership`` to keep the current file ownerships set in the tarball
* ``-u <uid>`` or ``--user <uid>`` to set a different user as the new owner (default ``gid`` of this user will be used)
* ``-g <gid>`` or ``--group <gid>`` to set a different ``gid`` for the user. This only works if ``-u`` is used


.. note::
Directory ownership is always the ``CVMFS_USER`` of the given repository.

.. _sct_grafting:

Expand Down

0 comments on commit a5c006c

Please sign in to comment.