Re: [git-users] insufficient permission
thank you very much On Friday, November 8, 2013 9:13:21 AM UTC+2, David wrote: On 8 November 2013 17:51, Ivan Ionut ivan@gmail.com javascript: wrote: 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 Try this: http://jamesisin.com/a_high-tech_blech/index.php/2010/06/bash-sudo-through-a-pipe/ -- 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 git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[git-users] insufficient permission
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 git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] insufficient permission
On 8 Nov 2013 07:51, Ivan Ionut ivan.ion...@gmail.com wrote: 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? Also put a sudo in front of the git command after the pipe. -- 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 git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] insufficient permission
On 8 November 2013 17:51, Ivan Ionut ivan.ion...@gmail.com wrote: 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 Try this: http://jamesisin.com/a_high-tech_blech/index.php/2010/06/bash-sudo-through-a-pipe/ -- 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 git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.