This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Unable To Run mktarball.sh

Hello!

I am trying to build the android source using the TI Android-ICS-4.0.3 for the Beagleboard XM-REV C

I am having issues with running the script to compress the file system into a tarball. For some reason I do not have permissions to run the script..even as root. Here is my out put:

$sudo ../../../../build/tools/mktarball.sh ../../../host/linux-x86/bin/fs_get_stats android_rootfs . rootfs rootfs.tar.bz2

../../../../build/tools/mktarball.sh: line 31: 0775: command not found
tar: --group: Invalid owner
tar: Error is not recoverable: exiting now
../../../../build/tools/mktarball.sh: line 31: 0775: command not found
tar: --group: Invalid owner
tar: Error is not recoverable: exiting now
../../../../build/tools/mktarball.sh: line 31: 0775: command not found
tar: --group: Invalid owner
tar: Error is not recoverable: exiting now
../../../../build/tools/mktarball.sh: line 31: 0775: command not found
tar: --group: Invalid owner


What could be the issue? I don't have permission to run the script?