Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: Git changes permissions on directories when deleting files.

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:50:41

Possibly related (same subject, not in this thread)

Chad Joan [off-list ref] writes:
I'll do that, but it will probably take a long long time for me to see
the patch.  I'm hoping there's some cheap hack I can use to work
around it in the meantime.
I'd say grep for "rmdir" is Git's source code, and replace the calls
with a wrapper that does roughly

rmdir_wrapper(dir) {
	rmdir(dir);
	if (stat(dir, &buf))
		chmod(dir, buf.st_mode | 0777);
}

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help