mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-21 23:46:26 -05:00
stop clonepath at base directory. fixes #467
This commit is contained in:
parent
62ae871d51
commit
f48c16d162
14 changed files with 238 additions and 267 deletions
15
src/ugid.cpp
15
src/ugid.cpp
|
|
@ -22,17 +22,14 @@
|
|||
#include "ugid_rwlock.icpp"
|
||||
#endif
|
||||
|
||||
namespace mergerfs
|
||||
namespace ugid
|
||||
{
|
||||
namespace ugid
|
||||
void
|
||||
initgroups(const uid_t uid,
|
||||
const gid_t gid)
|
||||
{
|
||||
void
|
||||
initgroups(const uid_t uid,
|
||||
const gid_t gid)
|
||||
{
|
||||
static __thread gid_t_cache cache = {0};
|
||||
static __thread gid_t_cache cache = {0};
|
||||
|
||||
cache.initgroups(uid,gid);
|
||||
}
|
||||
cache.initgroups(uid,gid);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue