Applicable Scenarios
- Multiple users share the same large-capacity Volume but can access only their own directories.
- Public datasets, team directories, and personal directories need to be managed in the same Volume.
- Some directories need to be made available to other users in read-only mode.
- Training, Develop, or Inference can be mounted only to specified subdirectories.
Directory Type
Directory-level permissions support three types of directories:
The paths of public directories and Custom subdirectories must be actual subdirectories within the Volume namespace and cannot directly use the Volume root directory. The root path of a user directory can be the Volume root directory or a subdirectory under the Volume root directory.
Permission Configuration Requirements
- Directory-level permissions are enabled for the target Volume.
- The current account has permission to manage the Volume or the relevant directories.
- Users requiring authorization are within the authorized user scope of the Volume.
- Public directories, custom subdirectories, and user directory root paths have been planned.
- It has been confirmed whether existing development environments, training jobs, or inference services still mount the Volume as a whole.
Configure Directory Permissions
Go to Resources > Volume, open the Directory Permissions tab, and select the Volume to configure. The directory permissions page is organized into Public Directories, Custom Subdirectories, and User Directories. In each section, you can search for directories, view authorized users, permissions, usage, and update times, and perform actions such as granting authorization, setting quotas, or removing access.Configure Public Directory
The public directory is suitable for storing shared team data, base models, checkpoints, dependency caches, or read-only reference files. In the Public Directory section, click Add Public Directory. When configuring a public directory, Specify:- Directory path.
- Permission type: read-only or read-write.
- Remark information.
Configure a Custom Subdirectory
Custom subdirectories are suitable for Project Groups, experimental tasks, or team collaboration directories. In the Custom Subdirectory section, click Add Subdirectory. When creating a custom subdirectory, specify the directory path. After it is created, you can use User Authorization to grant specified users read-only or read/write permissions. When updating the authorization list, the latest configuration prevails. When you delete a custom subdirectory configuration, its authorization configuration is also removed. Before deleting it, ensure that this will not affect tasks that are using the directory.Configure User Directory
The user directory provides each user with a personal dedicated directory. In the User Directory section, click Modify User Directory to set the root path for user directories. The system automatically generates a corresponding user directory for each user authorized for the Volume. The path is typically:Authentication Rules When Submitting Tasks
Directory-level permissions take effect when you submit from Develop, Training, or Inference. The authentication rules are as follows:- If directory-level permissions are enabled for a Volume, newly launched workloads must be mounted to authorized subdirectories.
- If a subdirectory is mounted but is outside the range that the current user is authorized to mount, the submission will be rejected.
- If read-write mounting is requested for a read-only directory, the submission will be rejected.
- If read-only mounting is requested for a read-write directory, the submission can be accepted.
- Volumes without directory-level permissions enabled are unaffected. Their submission method is the same as for standard whole-volume mounts.

