'error: unable to set permission to './objects/...'

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

'error: unable to set permission to './objects/...'

From: Rafal Rusin <hidden>
Date: 2016-06-15 22:47:45

Hello,

I'm hosting git repository on filesystem with 'chmod <some-file>'
causing permission denied error (it's smbfs mounted directory),
When I was doing push to such repo using file:// protocol, I got
following error:
error: unable to set permission to './objects/...'

I did a small fix to sha1_file.c (patch in attachment) and git now
warns when unable to chmod, and continues push. This resolved problem.
What do you think about applying it?

Regards,
-- 
Rafał Rusin
http://rrusin.blogspot.com
http://www.touk.pl
http://top.touk.pl

Re: 'error: unable to set permission to './objects/...'

From: Miklos Vajna <hidden>
Date: 2016-06-15 22:47:45

On Sun, Nov 22, 2009 at 09:02:12PM +0100, Rafal Rusin [off-list ref] wrote:
I did a small fix to sha1_file.c (patch in attachment) and git now
warns when unable to chmod, and continues push. This resolved problem.
What do you think about applying it?
Please read Documentation/SubmittingPatches, patches should be sent
inline and with a Signed-off-by line.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help