Dell Unity: Sådan konfigurerer du en FTP umask. (Kan rettes af brugeren)

Summary: Denne KB beskriver, hvordan du konfigurerer umask til Unity's FTP-konfiguration.

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. Kontroller de aktuelle indstillinger.
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.
...
Ovenstående resultat angiver, at denne parameter er en global parameter, og at en genstart af NAS-serveren er nødvendig, for at indstillingen kan træde i kraft.
Det kræver dog SP-genstart for at få ændringen til at træde i kraft.
  1. Skift indstillinger.
Hvis umask-værdien skal være 000, skal du indstille værdien til 0.
svc_nas ALL -param -facility ftpd -modify umask -value 0
Hvis værdien på umask skal være 222, skal du indstille værdien til 146.
Oktal = 222 decimaltal = 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. Genstart begge SP'er én efter én for at få ændringen til at træde i kraft.

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.