无法将所有权改为 uid 0,gid 0: 不允许的操作

时间:2024-02-19 20:48:09

解压.gz格式的压缩包,出现如下问题:

root@ubuntu-PR4764GW:/mnt# tar -xf pingmei-factory-20200314-beifen.tar.gz 

tar: factory/video_analyze_platform/kq/kq-html/asset-manifest.json:无法将所有权改为 uid 0,gid 0: 不允许的操作

tar: factory/video_analyze_platform/kq/kq-html/index.html:无法将所有权改为 uid 0,gid 0: 不允许的操作

tar: factory/video_analyze_platform/kq/kq-html/service-worker.js:无法将所有权改为 uid 0,gid 0: 不允许的操作

tar: factory/video_analyze_platform/kq/kq-html/manifest.json:无法将所有权改为 uid 0,gid 0: 不允许的操作

。。。。。。

查看分区格式,发现执行解压任务的磁盘目录是“exfat”格式(如下红色字体所示),拷贝到其它“ext4”分区解压即可。

root@ubuntu-PR4764GW:/mnt# blkid

/dev/sda5: UUID="53c529d5-bb0b-49fd-a105-f012c83b2fc1" TYPE="swap" PARTUUID="e2c2e07d-05"

/dev/sda1: UUID="ca0ce764-273e-4274-bff2-3de081da86b4" TYPE="ext4" PARTUUID="e2c2e07d-01"

/dev/sdg1: LABEL="WestData" UUID="4CDF-2CF9" TYPE="exfat" PARTUUID="0ca51b67-01"

/dev/sdb: UUID="9f8d2121-8d7a-4db7-9a0c-4b5ad63699db" TYPE="ext4"

/dev/sdc: UUID="300e9d58-29b7-4150-9e2d-f515dfaeda83" TYPE="ext4"

/dev/sdd: UUID="54c63e68-9c15-4f20-afd5-8520f190d7e0" TYPE="ext4"

/dev/sde: LABEL="HD4T" UUID="51b45486-48e9-45eb-ad29-d423f22a19f2" TYPE="ext4"

结束。