Permission setting method and permission setting device for file system

A file system and permission technology, applied in the direction of file system, file access structure, computer security device, etc., can solve the problem of low efficiency of node access permission setting, achieve the effect of improving setting efficiency and reducing overhead

Active Publication Date: 2017-11-28
HUAWEI TECH CO LTD
View PDF6 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

And, for multiple nodes with the same ACL authority, set the ACL authority for each node separately, so the way to set the ACL of the node of the directory tree is to ...

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 permission setting device for file system
  • Permission setting method and permission setting device for file system
  • Permission setting method and permission setting device for file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0033] 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 100 provides data to clients for access through network and file sharing protocols. The protocols used include Transmission Control Protocol (TCP) protocol for data transmission, Internet Protocol (Internet Protocol, IP) protocol and Comm...

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

An embodiment of the invention provides a permission setting method and a permission setting device for a file system. When an access permission semantic type of a father node is a permission root type, all child nodes of the father node inherit ACL (access control lists) permission of the father node, so that only setting of the ACL permission of the father node is needed. Since traversing all subdirectories or files under the father node to respectively set the ACL permission of each child node under the father node is avoided, directory tree ACL permission setting efficiency is improved; in addition, since only setting of the ACL permission of the father node is needed, repeated ACL permission setting of subdirectories and files under a directory corresponding to the father node is avoided, and storage space consumption is reduced. When semantic type parameters represent that the access permission semantic type of the father node is a self type, access permission of the father node does not affect the ACL permission of all child nodes after current permission setting of the father node, and thus, ACL permission setting of nodes in accordance with POSIX (portable operating system interface of UNIX) standard semantics can be realized.

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
IPC IPC(8): G06F21/62G06F17/30
CPCG06F16/13G06F21/6209G06F21/6227G06F21/604G06F16/24573G06F16/219G06F16/2246G06F16/214G06F21/6218G06F2221/2141
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