Permission setting method and device for file system

A file system and permission technology, applied in transmission systems, computer security devices, electrical components, etc., can solve the problem of low efficiency of node access permission setting, and achieve the effect of improving setting efficiency and reducing overhead.

Active Publication Date: 2017-12-08
HUAWEI TECH CO LTD
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The ACL setting mode of the node of existing directory tree is, after setting ACL to any node of directory tree, then setting ACL to all nodes that have the same access authority with described any node of directory tree, so to the directory tree Repeated setting of ACL for each node, the setting efficiency of node access rights is low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Permission setting method and device for file system
  • Permission setting method and device for file system
  • Permission setting method and device for file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings.

[0028] See figure 1 , figure 1 It is a schematic diagram of a storage system architecture provided by an embodiment of the present invention. The storage system may be a network-attached storage (network-attached storage, NAS) storage system or a storage area network (storage Area Network, SAN) storage system. The present invention is described by taking a NAS storage system as an example. Such as figure 1 As shown, the user communicates with the NAS storage system 100 through a client. Clients can be terminal devices or various types of servers. The NAS storage system provides data to clients for access through network and file sharing protocols. The protocols used include the Transmission Control Protocol (TCP) protocol for data transmission, the Internet Protocol (IP) protocol and the Common Internet...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a permission setting method and device for a file system. Through the permission setting method and device, permission records of access permissions of nodes of a directory tree are quickly set, and one time of permission setting operation of any node of the directory tree is expressed with updated global version parameters. According to the method, the permission record of a child node of the node with a permission to be set inherits the permission record of the node with the permission to be set after current permission setting operation, therefore, only the permission record of a parent node of the directory tree is set, and all files and all subdirectories under a directory corresponding to the parent node inherit the permission record of the parent node. It is not needed to traverse all the subdirectories or files under the parent node to set the permission record of each subdirectory or file under the parent node, so that the setting efficiency of the access permissions of the directory tree is improved. The permission record of the parent node is set, and it is not needed to set the permission record repeatedly for the subdirectories and the files under the directory corresponding to the parent node, so that storage space overhead is reduced.

Description

technical field [0001] Embodiments of the present invention relate to the field of file systems, and in particular, to a method and device for setting permissions of a file system. Background technique [0002] A file system is a structured form of data storage and organization. A file system can only be used after it is mounted. The organizational structure of the file system is a directory tree with a tree structure. The directory tree includes the root directory, subdirectories and files under the subdirectories. The subdirectories can not only contain files, but also Contains the next level of subdirectories, and so on constitutes a directory tree with a multi-level directory structure. The root of the tree structure is a mount point. In the directory tree, the root directory is located at the root node of the directory tree, the file is located at the leaf node of the directory tree, and the subdirectory is located at the middle node of the directory tree. Each file a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/62
CPCG06F21/6218G06F2221/2141G06F21/6209G06F21/6281G06F16/1827H04L63/101H04L67/1097
Inventor 谢晓芹郭洪星李永健马满堂鹿智婷张军伟
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products