1# chown 2 3 4## Command Function 5 6This command is used to change the owner of a file. 7 8 9## Syntax 10 11chown [_owner_] [_pathname_] 12 13 14## Parameters 15 16**Table 1** Parameter description 17 18| Parameter | Description | Value Range | 19| -------- | ------------ | -------------- | 20| owner | Specifies the file owner. | [0, 0xFFFFFFFF] | 21| pathname | Specifies the file path. | An existing file | 22 23 24## Usage Guidelines 25 26This command does not apply to the FAT file system. 27 28## Note 29 30Currently, the shell does not support this command. 31 32## Example 33 34Run **chown 100 testfile**. 35 36 37## Output 38 39Change the UID of the **testfile** file in **/dev** to **100**. 40 41``` 42OHOS:/dev$ touch testfile 43OHOS:/dev$ ll testfile 44-rw-r--r-- 0 0 100 0 1970-01-01 00:00 testfile 45OHOS:/dev$ chown 100 testfile 46OHOS:/dev$ ll testfile 47-rw-r--r-- 0 100 100 0 1970-01-01 00:00 testfile 48``` 49