Dell Unity:如何设置 FTP umask。(用户可纠正)

Summary: 本知识库文章介绍如何为 Unity 的 FTP 配置设置 umask。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

  1. 检查当前设置。
svc_nas ALL -param -facility ftpd -info umask -verbose
# svc_nas ALL -param -facility ftpd -info umask -verbose

SPA :
name                    = umask
facility_name           = ftpd
default_value           = 18
current_value           = 18
configured_value        =
param_type              = global
user_action             = restart NAS Server << In this explanation, the NAS Server needs to be restarted, but in fact, the SP needs to be rebooted.
change_effective        = restart NAS Server << In this explanation, the NAS Server needs to be restarted, but in fact, the SP needs to be rebooted.
range                   = (0,511)
description             = Default umask used to create a file or a directory

detailed_description
Determines default value that will be used for the shares where no specific umask is specified. 
The default setting for this parameter is 0x12 (octal 022). 
Umask with 022 means rw-r--r-- for file creation and rwxr-xr-x for directories.
...
以上结果表明此参数是全局参数,并且需要重新启动 NAS 服务器才能使设置生效。
但是,需要重新启动 SP 才能使更改生效。
  1. 更改设置。
如果 umask 值将为 000,请将值设置为 0。
svc_nas ALL -param -facility ftpd -modify umask -value 0
如果 umask 值将为 222,请将值设置为 146。
八进制 = 222 十进制 = 146
svc_nas ALL -param -facility ftpd -modify umask -value 146
# svc_nas ALL -param -facility ftpd -modify umask -value 146

SPA : done
SPB : done
  1. 逐个重新启动两个 SP 以使更改生效。

Affected Products

Dell EMC Unity, Dell Unity 300, Dell EMC Unity 300F, Dell EMC Unity 350F, Dell EMC Unity XT 380, Dell EMC Unity XT 380F, Dell EMC Unity 400, Dell EMC Unity 400F, Dell EMC Unity 450F, Dell EMC Unity XT 480, Dell EMC Unity XT 480F, Dell EMC Unity 500 , Dell EMC Unity 500F, Dell EMC Unity 550F, Dell EMC Unity 600, Dell EMC Unity 600F, Dell EMC Unity 650F, Dell EMC Unity XT 680, Dell EMC Unity XT 680F, Dell EMC Unity XT 880, Dell EMC Unity XT 880F, Dell EMC Unity Family |Dell EMC Unity All Flash, Dell EMC Unity Family, Dell EMC Unity Hybrid, Dell EMC UnityVSA Professional Edition/Unity Cloud Edition ...
Article Properties
Article Number: 000198160
Article Type: How To
Last Modified: 24 May 2023
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.