Invention Grant
- Patent Title: File system permission setting method and apparatus
-
Application No.: US16718995Application Date: 2019-12-18
-
Publication No.: US11238175B2Publication Date: 2022-02-01
- Inventor: Xiaoqin Xie , Hongxing Guo , Yongjian Li , Mantang Ma , Zhiting Lu , Junwei Zhang
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: Huawei Technologies Co., Ltd.
- Current Assignee: Huawei Technologies Co., Ltd.
- Current Assignee Address: CN Shenzhen
- Agency: Conley Rose, P.C.
- Priority: CN201710526991.0 20170630
- Main IPC: G06F15/16
- IPC: G06F15/16 ; G06F21/62 ; G06F16/182 ; H04L29/06 ; H04L29/08

Abstract:
A data access method in a file system comprises receiving a data access request including an identifier of a to-be-accessed node, obtaining access permission for the to-be-accessed node based on the identifier of the to-be-accessed node, wherein when a permission version number of the to-be-accessed node is not the latest in permission version numbers of all nodes indicated by path information of the to-be-accessed node in a file system, the access permission for the to-be-accessed node inherits a permission record corresponding to a parent node that is of the to-be-accessed node and that has a latest permission version number, and performing authentication based on the access permission for the to-be-accessed node, and accessing data of the to-be-accessed node after the authentication succeeds.
Information query