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

Command Reference 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions."
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).
change share_permission ftp

change share_permission ftp

Function

The change share_permission ftp command is used to modify the FTP share permission.

Format

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

Parameters

Parameter

Description

Value

user_id=? User ID.

The value ranges from 0 to 900,000.

access_name=? User name.

The value must contain 1 to 32 characters, cannot end with a period (.), and cannot contain special characters including "/\[]<>+:;,?*|=@.

share_path=? Accessible local path.

The value contains 1 to 1023 characters.

file_system_id=? File system ID.

The value must be an integer 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 must be an integer from 0 to 31.

up_bandwidth=? Upload bandwidth.

The value ranges from 0 to 102400.

down_bandwidth=? Download bandwidth.

The value ranges from 0 to 102400.

Level

Administrator

Usage Guidelines

None

Example

  • Modify the FTP share permission.

    admin:/>change share_permission ftp user_id=100001 access_name=ftpuser share_path=/fs0/ftp file_system_id=0 permission=0 up_bandwidth=10 down_bandwidth=10
    Command executed successfully.
  • Show the FTP share permission.

    admin:/>show share_permission ftp user_id=100001
    User ID : 100001
    Access Name : ftpuser
    Share Path : /fs0/ftp
    Up Bandwidth : 10
    Down Bandwidth : 10
    File System ID : 0
    Permission : None

System Response

None

Translation
Download
Updated: 2019-04-04

Document ID: EDOC1000084195

Views: 278937

Downloads: 1559

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