[Samsung Galaxy Mini] chemicalrage:
EDIT: I think I have wasted enough time. my final exams are on 22nd March and I still havent started studying yet :( Deleting all sources & linux. Not gonna build cm from source anymore in life. I shouldnt have jumped to building from source directly. Need to understand C,C++,Java and bash(completely) first. Ciao XD I cant repo sync again. Heights of mind @#$.

I installed Linux mint 12. Faced lots of driver problems.

Copied the cyanogenmod repo in windows partition.

Changed to Linux Mint 13.

Installed everything back and now I found out that windows screwed up the permissions of all the cm7 repo files.

How do I fix the permissions of the whole repo and all its directories & files? FML.

anaggh@anaggh-HP ~/android/system $ brunch tass
including vendor/cyanogen/vendorsetup.sh
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/bin/bash: build/core/find-jdk-tools-jar.sh: Permission denied

/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/bin/bash: build/core/find-jdk-tools-jar.sh: Permission denied
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/bin/bash: build/core/find-jdk-tools-jar.sh: Permission denied
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/bin/bash: build/core/find-jdk-tools-jar.sh: Permission denied
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/bin/bash: build/core/find-jdk-tools-jar.sh: Permission denied
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.7
TARGET_PRODUCT=cyanogen_tass
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/bin/bash: build/core/find-jdk-tools-jar.sh: Permission denied

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.7
TARGET_PRODUCT=cyanogen_tass
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/bin/bash: build/core/find-jdk-tools-jar.sh: Permission denied
/bin/bash: build/tools/findleaves.py: Permission denied
/bin/bash: build/tools/findleaves.py: Permission denied
No private recovery resources for TARGET_DEVICE tass
Copy: out/target/product/tass/root/lib/modules/fsr.ko
Copy: out/target/product/tass/root/ueventd.gt-s5570.rc
Copy: out/target/product/tass/root/lib/modules/fsr_stl.ko
Copy: out/target/product/tass/root/lib/modules/rfs_fat.ko
/bin/bash: out/host/linux-x86/bin/acp: Permission denied
/bin/bash: out/host/linux-x86/bin/acp: Permission denied
/bin/bash: out/host/linux-x86/bin/acp: Permission denied
/bin/bash: out/host/linux-x86/bin/acp: Permission denied
make: *** [out/target/product/tass/root/ueventd.gt-s5570.rc] Error 126
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/tass/root/lib/modules/fsr.ko] Error 126
make: *** [out/target/product/tass/root/lib/modules/rfs_fat.ko] Error 126
make: *** [out/target/product/tass/root/lib/modules/fsr_stl.ko] Error 126