No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor 2200 V3 and 2600 V3 Storage System V300R005 Command Reference

"Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese commands."
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
create share_permission ftp

create share_permission ftp

Function

The create share_permission ftp command is used to create FTP share permission.

Format

create share_permission ftp access_name=? share_path=? file_system_id=? permission=? { up_bandwidth=? | down_bandwidth=? | user_id=? } *

Parameters

Parameter

Description

Value

access_name=? The name of user.

The value must start with a letter and contain 1 to 32 ASCII characters ,must not end with letter dot( .) ,excluding the following letters"/\[]<>+:;,?*|=@.

share_path=? The share path of ftp.

The value contains 1 to 1023 ASCII characters.

file_system_id=? The ID of file system.

The value ranges from 0 to 65535.

permission=? Permission expressed in 5-bit binaries. Such permissions are permissions to create directories, browse directories and files, and upload, download and delete files and directories.

The value ranges from 0 to 31.

up_bandwidth=? The bandwidth of upload.

The value ranges from 0 to 102400.

down_bandwidth=? The bandwidth of download.

The value ranges from 0 to 102400.

user_id=? The ID of user.

The value ranges from 0 to 900,000.

Level

Administrator

Usage Guidelines

This command does not support OceanStor 2200 V3 storage system.

Example

To create FTP share permission, run the following command:

admin:/>create share_permission ftp access_name=ftpuser share_path=/fs0/ftp file_system_id=0 permission=20 down_bandwidth=10 up_bandwidth=10
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-04-22

Document ID: EDOC1000106139

Views: 235281

Downloads: 168

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next