2 ms·
I really think that an "open the file as this user or group (also constrained to the current user's permissions)" option will solve the security problems better
by marcosdumay 4y ago
I really think that an "open the file as this user or group (also constrained to the current user's permissions)" option will solve the security problems better than the "open the file relative to this root" one. Or, failing that, an usable capability system (not SELinux).
I don't think just checking for symlinks really solves anything. It may make your bugs harder to exploit, what is always good, but people use symlinks, so you have to support them, so the bugs will stay there.