In the example of the book from http://git-scm.com/book/en/Git-Internals-Git-Objects after typing the command
sudo echo 'test content' | git hash-object -w --stdin i'm getting this error error: insufficient permission for adding an object to repository database .git/objects fatal: Unable to add (null) to database but as root i have the permisions to read, right, execute to those files on that directory. How do I fix this? -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
