diff options
author | Andreas Kling <kling@serenityos.org> | 2021-01-10 10:12:15 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-10 10:14:33 +0100 |
commit | 795bccbf697a805eaece48e1c554fc5fe1ab09fc (patch) | |
tree | 799237e499098314ee6797d57c49a310e13b76be /Libraries/LibCore/StandardPaths.cpp | |
parent | f35a723f61c4a816b35a581de304ce031ef17151 (diff) | |
download | serenity-795bccbf697a805eaece48e1c554fc5fe1ab09fc.zip |
Kernel: Don't allow non-root, non-owners to rmdir any child of sticky
We were not handling sticky parents properly in sys$rmdir(). Child
directories of a sticky parent should not be rmdir'able by just anyone.
Only the owner and root.
Fixes #4875.
Diffstat (limited to 'Libraries/LibCore/StandardPaths.cpp')
0 files changed, 0 insertions, 0 deletions