Did you that repo command with sudo once before? If so, you would
need to sudo rm it.
~cco3
> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
Instead of deleting everything it is better to change back the ownership of the files with:
sudo chown -R myuser.myuser *
$ curl https://android.git.kernel.org/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
$ mkdir WORKING_DIRECTORY
$ cd WORKING_DIRECTORY
$ repo init -u git://android.git.kernel.org/platform/manifest.git
> I have completely follwoed the guidelines given at:
> http://source.android.com/source/downloading.html
>
> After the command
>
> $ curl https://android.git.kernel.org/repo > ~/bin/repo
>
> I had only change chmod of repo with
>
> $ chmod a+x ~/bin/repo
>
> And after that:
>
> $ mkdir WORKING_DIRECTORY
> $ cd WORKING_DIRECTORY
>
> $ repo init -u git://android.git.kernel.org/platform/manifest.git
>
> Now I got the error as "cannot make .repo directory: Permission denied. "
>
> Then I tried with " *sudo* repo init -u git://
> android.git.kernel.org/platform/manifest.git"
No, don't use sudo to overcome permission problems in your home
directory. It might solve your problem short-term but it'll come
back and haunt you sooner or later.
> Then the same error gave.
> Please let me know where i went wrong.
Everything looks okay. We can't debug why the directory creation
fails on your machine. You might want to us the --trace option
to get more debugging output for your "repo init" command (i.e.
"repo init --trace git://...") or use strace to see exactly which
directory that Repo fails to create.
--
Magnus B�ck Opinions are my own and do not necessarily
SW Configuration Manager represent the ones of my employer, etc.
Sony Ericsson
you can run command