reassignpersonalfolderowners deprecated

PACKAGE: open-xchange-core

NAME

reassignpersonalfolderowners - reassigns the owner of folders below personal Infostore folders.

SYNOPSIS

reassignpersonalfolderowners [-c contextId [-u userId] | --all] [--dry-run] -A admin -P adminPassword [-p RMI-Port] [-s RMI-Server] [--responsetimeout responseTimeout] | [-h]

DESCRIPTION

This command line tool reassigns the owner of all folders located below a user's personal (default) Infostore folder to that user. Since the file storage quota is accounted to the folder owner, this lets everything below a user's personal folder count against that user's quota.

It aligns already existing folders with the behavior enabled through the configuration property com.openexchange.infostore.setPersonalFolderOwnerBelowPersonalInfostore, which only affects newly created or moved folders. The tool is idempotent and can safely be run multiple times.

The owner reassignment only serves the quota accounting: explicit folder permissions are left untouched, and each previous owner keeps the administrative access the folder ownership implicitly granted, materialized as an explicit folder permission (guest users excluded).

Files are relocated between file storages if the previous and the new owner use different ones. Run recalculatefilestoreusage afterwards to update the file storage usage accordingly.

OPTIONS

-c, --context contextId : The identifier of the context to reassign folder owners in. Mutually exclusive with --all.

-u, --user userId : The identifier of the user to restrict the reassignment to. Requires --context.

--all : Reassigns folder owners in all contexts. Mutually exclusive with --context.

--dry-run : Only reports affected folders without applying any changes.

-A, --adminuser admin : Admin user name for authentication (context admin for --context, master admin for --all). Optional, depending on your configuration.

-P, --adminpass adminPassword : Admin password for authentication. Optional, depending on your configuration.

-s, --server rmiHost : The optional RMI server (default: localhost).

-p, --port rmiPort : The optional RMI port (default:1099).

-h, --help : Prints a help text.

--responsetimeout : The optional response timeout in seconds when reading data from server (default: 0s; infinite).

EXAMPLES

reassignpersonalfolderowners -A oxadmin -P secret -c 1138 --dry-run

Reports all folders in context 1138 whose owner would be reassigned.

reassignpersonalfolderowners -A oxadminmaster -P secret --all

Reassigns folder owners below personal Infostore folders in all contexts.