Dell Unity: Slik konfigurerer du en FTP-umaske. (Kan rettes opp av bruker)

Summary: Denne KB-en beskriver hvordan du konfigurerer umaske for Unitys FTP-konfigurasjon.

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 gjeldende innstillinger.
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.
...
Resultatet ovenfor indikerer at denne parameteren er en global parameter, og at en omstart av NAS-serveren er nødvendig for at innstillingen skal tre i kraft.
Det krever imidlertid sp-omstart for å få endringen til å tre i kraft.
  1. Endre innstillingene.
Hvis umaskeverdien skal være 000, setter du verdien til 0.
svc_nas ALL -param -facility ftpd -modify umask -value 0
Hvis verdien av umasken skal være 222, setter du verdien til 146.
Oktal = 222 Desimal = 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. Start begge SPs-ene på nytt én etter én for å få endringen til å tre 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.