Dell Unity、PowerStore:在多通訊協定 NAS 上變更 SMB 共用上的 UMASK 不會變更連線 SMB 用戶端的預設模式位元
Summary: UMASK 變更只會影響新建立的 Server Message Block (SMB) 工作階段。
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.
Symptoms
多協定文件系統的SMB共用的UMASK屬性最近更改為新值。
當多協定檔案系統的SMB共用的UMASK高級屬性更改為新值時,連接的SMB用戶端仍可能根據先前的UMASK分配UNIX模式位。
當多協定檔案系統的SMB共用的UMASK高級屬性更改為新值時,連接的SMB用戶端仍可能根據先前的UMASK分配UNIX模式位。
Cause
對 UMASK 所做的更改會立即反映在共用配置中。但是,執行會話設置時建立的 UMASK 值決定了可操作的 UMASK。因此,任何未切斷其與共用連接的用戶端將繼續使用先前的 UMASK 值。當用戶端斷開連線時(如驗證於
svc_cifssupport <NAS SERVER> -audit -full),重新連接 UMASK 時會反映更新的 UMASK,而從 UNIX 或 Linux 用戶端查看時,該使用者建立的檔案會顯示預期的模式位元。Resolution
SMB 用戶端必須斷開連接並重新連接才能使用新的 UMASK 值。
使用
使用
svc_cifssupport 命令以驗證用戶端目前的 UMASK,或驗證用戶端是否已斷開連線:
service@alpha-spa spa:~> svc_cifssupport Megatron -audit Megatron : |||| AUDIT Ctx=0x00091aea38, ref=2, Fedora6 Client(10.0.1.249) Port=46042/445 ||| MEGATRON[PEEPS] on if=1_alpha ||| CurrentDC 0x0007d3a858=PEEPS-DC ||| Proto=NT1, Arch=Win2K, RemBufsz=0x4054, LocBufsz=0xffff, popupMsg=1 ||| 0 FNN in FNNlist NbUsr=1 NbCnx=1 ||| Uid=0x3f NTcred(0x0008bd5f58 RC=3 NTLMSSP Capa=0x2001) 'PEEPS\administrator' || Cnxp(0x0009e6e8e8), Name=mpfs01, cUid=0x3f Tid=0x3f, Ref=1, Aborted=0 | readOnly=0, umask=27, opened files/dirs=0 | types=Global - - - - - - - OCNone | Absolute path of the share=\mpfs01 ||| SMB2 session Id=0x598dc76d00000001, 1 channel(s) ||| Uid=0x1 NTcred(0x0008e9e758 RC=9 KERBEROS Capa=0x800002) 'PEEPS\administrator' |||| AUDIT Ctx=0x000924d638, ref=2, Client(10.0.1.250) Port=65083/445 ||| MEGATRON[PEEPS] on if=1_alpha ||| CurrentDC 0x0007d3a858=PEEPS-DC ||| Proto=SMB2.10, MaxReadWriteSz=0x800000, MaxTransactSz=0x800000, popupMsg=1 ||| SrvCapa=0x7, CltCapa=0x0, SrvSecMode=0x1, CltSecMode=0x1 ||| PreAuthIntgAlgo:NONE, EncryptionAlgoId:AES_128_CCM ||| Client GUID=54959e9a-3266-11e7-8171-0050569115ca ||| SMB2 credits: Granted=31, Max=512, AsyncPendind=2, topAsyncPending=2 ||| 0 FNN in FNNlist NbUsr=1 NbCnx=1 || Cnxp(0x0009e6e4e8), Name=mpfs01, cUid=0x1 Tid=0x2, Ref=1, Aborted=0 | readOnly=0, umask=27, opened files/dirs=3 | types=Global - - - - - - - OCNone | Absolute path of the share=\mpfs01 total smb_streamCtx: 2等同於以服務使用者身分在 PowerStore 上執行此命令的程度如下:
svc_nas_cifssupport --server Megatron --args "-audit -full"變更 UMASK 後,將 NAS 伺服器故障切換至對等節點或儲存處理器 (SP),會強制所有用戶端建立新的 SMB 工作階段。
Affected Products
PowerStore, Dell EMC Unity FamilyProducts
Dell EMC Unity FamilyArticle Properties
Article Number: 000028446
Article Type: Solution
Last Modified: 28 May 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.