Group folders and team folders
Group folders are folders that are mounted for a set of groups or teams rather than owned by one account. They are
provided by the Group folders app, whose app id is groupfolders - the name you will see in occ
commands, in the app store and in log entries.
A team folder is a group folder in an exclusive relationship with a single team: it belongs to that team, follows the team’s membership, and has its own quota. Team folders were introduced in Nextcloud 35.
Group folder or team folder?
Group folder |
Team folder |
|
|---|---|---|
Mounted for |
any number of groups and teams |
exactly one team |
Created by |
an administrator or a delegated group |
the team owner, or an administrator |
Membership follows |
the groups and teams you assign |
the team’s own membership |
Quota |
set per folder |
set per team folder |
Which teams can have a team folder
A team is not eligible for a team folder if it is:
a personal team,
a hidden team,
a system team, or
a team provided by an external backend.
For every other team, the owner or a server administrator can add a team folder. Members, moderators and team admins cannot.
Configuration
Team folder provisioning is controlled by app settings of the circles app. The team folders, the default quota and
quota overrides for groups and teams can be managed in the administration settings under Teams. Whether teams can
get a team folder at all can only be set with occ:
# allow teams to be created with a team folder, and existing teams to be upgraded (default: yes)
occ config:app:set circles team_folder_auto_create --value=1 --type=boolean
# default quota in bytes for a new team folder; 0 means unlimited (default: 104857600, which is 100 MB)
occ config:app:set circles team_folder_default_quota --value=104857600 --type=integer
# quota overrides in bytes per Nextcloud group ID; 0 means unlimited (default: none)
occ config:app:set circles team_folder_group_quotas --value='{"staff":1073741824}' --type=array
A new team folder gets the highest matching quota override: the team’s own override, the overrides of the groups the
team owner belongs to, and those of the teams the owner is a member of. An unlimited quota (0) wins over all
others. If no override matches, the default quota applies.
With provisioning disabled, requests to create or upgrade a team folder are refused, and existing team folders are left untouched.
Note
A team folder is only created at team-creation time if the person creating the team asks for one. Teams created without a team folder are not upgraded automatically; someone has to upgrade them deliberately.
Detaching versus deleting
Warning
These two actions look similar and are not.
Detaching ends the exclusive relationship and keeps the folder and its contents. The folder remains as an ordinary group folder that you can reassign to groups, teams or nobody. This is the intended way to recover access to the contents of a team that is being disbanded.
Deleting removes the team folder and everything in it.
How group folders interact with other features
Group folders and team folders behave differently from ordinary user storage in several areas that are documented elsewhere:
Server-side Encryption - encrypting group folders and other non-home mount points.
Configuring Object Storage as Primary Storage - how group folder contents are stored on object storage.
Deleted Files - deleted files from a group folder go to the group folder’s own trash.
Activity app - activities for group folders, and why they can be missing.
Frequently asked questions
- What is the difference between a group folder and a team folder?
A group folder is mounted for any number of groups and teams and is administered centrally. A team folder is a group folder in an exclusive relationship with one team: it belongs to that team, follows its membership, and has its own quota. See the comparison above.
- A user says their team cannot own any files. Is that expected?
Yes. A team is a membership list; anything shared with it stays owned by the account that shared it. For storage owned by the team, the team needs a team folder, which its owner can add if provisioning is enabled.
- Why is the option to add a team folder missing for one particular team?
Either provisioning is disabled server-wide, or the team is not eligible - personal, hidden, system and backend-provided teams cannot have a team folder. The person asking may also not be the team’s owner.
- Can I convert an existing group folder into a team folder?
Yes. An existing group folder can be linked to a team instead of creating a new one, which is the way to migrate a folder that predates team folders.
- How do I take a team folder away from a team without losing the data?
Detach it. The folder and its contents survive; only the exclusive relationship ends.
- Does a team folder count against the members’ quotas?
No. It has its own quota, set per team folder, where zero means unlimited.
- Can I limit the size of a team folder?
Yes. A new team folder is created with the default quota (100 MB unless changed), or with a group or team quota override if one applies to the team owner. The quota of an existing team folder can be changed afterwards. Zero means unlimited.
- Which apps can contribute resources to a team?
Files, Talk and Deck out of the box, and any app implementing the team resource provider interface described in the developer manual under Digging deeper → Teams.