-
公开(公告)号:US20130332698A1
公开(公告)日:2013-12-12
申请号:US13589291
申请日:2012-08-20
Applicant: CHUN-LIN YU
Inventor: CHUN-LIN YU
IPC: G06F12/02
CPC classification number: G06F21/54 , G06F21/80 , G06F2221/2141 , G06F2221/2149
Abstract: A data preservation method applicable to an electronic device operating with an open operating system having a data storage region includes creating a disk partition; creating an authority to access the disk partition and get linked to a group ID (GID); mounting the disk partition in a directory having a user ID (UID) and the GID; and giving authority related to the linked GID to an application having the authority, so as to access data in the disk partition having the GID. The authority, coupled with the GID, allows a specific disk partition to store data generated as a result of execution of the application. Even if the application causes a UID change later for some reason, the application bestowed with the authority can still access data through the GID, thereby preserving data.
Abstract translation: 适用于使用具有数据存储区域的开放操作系统操作的电子设备的数据保存方法包括:创建磁盘分区; 创建访问磁盘分区并获取链接到组ID(GID)的权限; 将磁盘分区安装在具有用户ID(UID)和GID的目录中; 并向具有该权限的应用授予与所链接的GID相关的权限,以访问具有GID的磁盘分区中的数据。 该权限与GID相结合,允许特定的磁盘分区存储由于应用程序的执行而生成的数据。 即使应用程序由于某种原因导致UID更改,因此授权的应用程序仍然可以通过GID访问数据,从而保留数据。