We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ca6189 commit d1d60d3Copy full SHA for d1d60d3
1 file changed
src/MultiuserDirectory.hh
@@ -30,6 +30,8 @@ public:
30
31
int Readdir(char *buff, int blen)
32
{
33
+ UserSentry sentry(m_client, m_log);
34
+ if (!sentry.IsValid()) {return -EACCES;}
35
return m_wrappedDir->Readdir(buff, blen);
36
}
37
0 commit comments