Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Documention: web--browse: add info about "browser.<tool>.cmd" config var
[gitweb.git]
/
path.c
diff --git
a/path.c
b/path.c
index af2716199b92e920df9fe2021035d319e8cafbc6..f4ed979997b6a968ba1987a199beae39035d5da2 100644
(file)
--- a/
path.c
+++ b/
path.c
@@
-283,7
+283,7
@@
int adjust_shared_perm(const char *path)
? (S_IXGRP|S_IXOTH)
: 0));
if (S_ISDIR(mode))
- mode |=
S_IS
GID;
+ mode |=
FORCE_DIR_SET_
GID;
if ((mode & st.st_mode) != mode && chmod(path, mode) < 0)
return -2;
return 0;