Error In ./update.sh -o /media/ubuntu/disk

Hello all,

I am trying to flash BSP 2.6 in my Apalis iMX6 Module.
I am following steps from [here][1].

In Preparation Step 4, I am getting a message as below.

Log:

Apalis Image Load $ ./update.sh -o /media/ubuntu/disk/
Apalis iMX6 rootfs detected
rootfs/dev is not owned by root, but it should!
Please unpack the tarball with root rights.
e.g. sudo tar xjvf Apalis_iMX6_LinuxImageV2.6_20160331.tar.bz2
Apalis Image Load $ sudo ./update.sh -o /media/ubuntu/disk/
Apalis iMX6 rootfs detected
rootfs/dev is not owned by root, but it should!
Please unpack the tarball with root rights.
e.g. sudo tar xjvf Apalis_iMX6_LinuxImageV2.6_20160331.tar.bz2

I used the following command to untar. but still getting the same message.
sudo tar xjvf Apalis_iMX6_LinuxImageV2.6_20160826.tar.bz

Thank You

hi vkpanchal

Could you check if the folder rootfs is owned by the user root (command ls -l rootfs)?