1e41f4b71Sopenharmony_ci# File Management Subsystem Changelog
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci## cl.filemanagement.1 chmod, fchmod, chown, fchown, and lchown Function Unavailable
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci**Access Level**
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ciPublic
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci**Change Impact**
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ciThis change is a non-compatible change. For security purposes, the APIs for modifying the file permissions and owner are no longer available.
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci| Module                   | Method/Attribute/Enum/Constant                                         | Change Type|
14e41f4b71Sopenharmony_ci| ------------------------- | ------------------------------------------------------------ | -------- |
15e41f4b71Sopenharmony_ci| @ohos.fileio        |  **function** chmod(path: string, mode: number): Promise<void> | Function unavailable    |
16e41f4b71Sopenharmony_ci| @ohos.fileio        |  **function** chmod(path: string, mode: number, callback: AsyncCallback<void>): void | Function unavailable    |
17e41f4b71Sopenharmony_ci| @ohos.fileio        |  **function** chmodSync(path: string, mode: number): void | Function unavailable    |
18e41f4b71Sopenharmony_ci| @ohos.fileio        |  **function** fchmod(fd: number, mode: number): Promise<void> | Function unavailable    |
19e41f4b71Sopenharmony_ci| @ohos.fileio        |  **function** fchmod(fd: number, mode: number, callback: AsyncCallback<void>): void | Function unavailable    |
20e41f4b71Sopenharmony_ci| @ohos.fileio        |  **function** fchmodSync(fd: number, mode: number): void | Function unavailable    |
21e41f4b71Sopenharmony_ci| @ohos.fileio        |  **function** chown(path: string, uid: number, gid: number): Promise<void> | Function unavailable    |
22e41f4b71Sopenharmony_ci| @ohos.fileio        |  **function** chown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void | Function unavailable    |
23e41f4b71Sopenharmony_ci| @ohos.fileio        |  **function** chownSync(path: string, uid: number, gid: number): void | Function unavailable    |
24e41f4b71Sopenharmony_ci| @ohos.fileio        |  **function** fchown(fd: number, uid: number, gid: number): Promise<void> | Function unavailable    |
25e41f4b71Sopenharmony_ci| @ohos.fileio        |  **function** fchown(fd: number, uid: number, gid: number, callback: AsyncCallback<void>): void | Function unavailable    |
26e41f4b71Sopenharmony_ci| @ohos.fileio        |  **function** fchownSync(fd: number, uid: number, gid: number): void | Function unavailable    |
27e41f4b71Sopenharmony_ci| @ohos.fileio        |  **function** lchown(path: string, uid: number, gid: number): Promise<void> | Function unavailable    |
28e41f4b71Sopenharmony_ci| @ohos.fileio        |  **function** lchown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void | Function unavailable    |
29e41f4b71Sopenharmony_ci| @ohos.fileio        |  **function** lchownSync(path: string, uid: number, gid: number): void | Function unavailable    |
30e41f4b71Sopenharmony_ci
31e41f4b71Sopenharmony_ci**Change Since**
32e41f4b71Sopenharmony_ci
33e41f4b71Sopenharmony_ciOpenHarmony SDK 4.1.5.2
34e41f4b71Sopenharmony_ci
35e41f4b71Sopenharmony_ci**Key API/Component Changes**
36e41f4b71Sopenharmony_ci
37e41f4b71Sopenharmony_ciAfter the change, calling the preceding APIs returns void, without implementing the original functionalities. 
38e41f4b71Sopenharmony_ci
39e41f4b71Sopenharmony_ci**Adaptation Guide**
40e41f4b71Sopenharmony_ci
41e41f4b71Sopenharmony_ciFor security purposes, the APIs for modifying the file permissions and owner are no longer available. Delete the related APIs in a timely manner.
42e41f4b71Sopenharmony_ci
43e41f4b71Sopenharmony_ci## cl.filemanagement.2 fileio.symlink and fs.symlink Function Unavailable
44e41f4b71Sopenharmony_ci
45e41f4b71Sopenharmony_ci**Access Level**
46e41f4b71Sopenharmony_ci
47e41f4b71Sopenharmony_ciPublic
48e41f4b71Sopenharmony_ci
49e41f4b71Sopenharmony_ci**Change Impact**
50e41f4b71Sopenharmony_ci
51e41f4b71Sopenharmony_ciThis change is a non-compatible change. For security purposes, the following APIs do not provide original functionalities.
52e41f4b71Sopenharmony_ci
53e41f4b71Sopenharmony_ci| Module                   | Method/Attribute/Enum/Constant                                         | Change Type|
54e41f4b71Sopenharmony_ci| ------------------------- | ------------------------------------------------------------ | -------- |
55e41f4b71Sopenharmony_ci| @ohos.fileio        |  **function** symlink(target: string, srcPath: string): Promise<void> | Function unavailable    |
56e41f4b71Sopenharmony_ci| @ohos.fileio        |  **function** symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void | Function unavailable    |
57e41f4b71Sopenharmony_ci| @ohos.fileio        |  **function** symlinkSync(target: string, srcPath: string): void | Function unavailable    |
58e41f4b71Sopenharmony_ci| @ohos.file.fs       |  **function** symlink(target: string, srcPath: string): Promise<void> | Function unavailable    |
59e41f4b71Sopenharmony_ci| @ohos.file.fs       |  **function** symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void | Function unavailable    |
60e41f4b71Sopenharmony_ci| @ohos.file.fs       |  **function** symlinkSync(target: string, srcPath: string): void | Function unavailable    |
61e41f4b71Sopenharmony_ci
62e41f4b71Sopenharmony_ci**Change Since**
63e41f4b71Sopenharmony_ci
64e41f4b71Sopenharmony_ciOpenHarmony SDK 4.1.5.2
65e41f4b71Sopenharmony_ci
66e41f4b71Sopenharmony_ci**Key API/Component Changes**
67e41f4b71Sopenharmony_ci
68e41f4b71Sopenharmony_ciAfter the change, error code 13900012 (Permission denied) will be returned when these APIs are called.
69e41f4b71Sopenharmony_ci
70e41f4b71Sopenharmony_ci**Adaptation Guide**
71e41f4b71Sopenharmony_ci
72e41f4b71Sopenharmony_ciThe system does not provide the capability of creating soft links. Delete the related APIs or add exception handling in a timely manner.
73