mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-15 02:36:08 -04:00
fix permissions bug when creating directories,
need to put in user/group execute bit.
This commit is contained in:
3
Conf.cpp
3
Conf.cpp
@ -24,7 +24,8 @@ mode_t getDirCreationFlags() {
|
||||
s_setUmask = true;
|
||||
umask ( 0 );
|
||||
}
|
||||
return S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH ;
|
||||
return S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH |
|
||||
S_IXUSR | S_IXGRP;
|
||||
}
|
||||
|
||||
Conf::Conf ( ) {
|
||||
|
Reference in New Issue
Block a user