Dell Unity: Jak nastavit parametr umask pro server FTP (oprava uživatelem)

Summary: Tento článek znalostní databáze popisuje, jak nastavit parametr umask pro konfiguraci FTP pole Unity.

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. Zkontrolujte aktuální nastavení.
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.
...
Výše uvedený výsledek znamená, že tento parametr je globálním parametrem a že je nutné restartovat server NAS, aby se nastavení projevilo.
Aby se však změna projevila, je nutné restartovat procesor úložiště.
  1. Změňte nastavení.
Pokud má parametr umask mít hodnotu 000, nastavte ho na 0.
svc_nas ALL -param -facility ftpd -modify umask -value 0
Pokud má parametr umask mít hodnotu 222, nastavte ho na 146.
Osmičková = 222, desítková = 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. Aby se změna projevila, restartujte postupně oba procesory úložiště.

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.