in reply to Re: Insecure dependency in chmod while running setuid
in thread Insecure dependency in chmod while running setuid
Yes, I really, really didn't like the idea of running a CGI script as root.
What I decided to do in the end was to just give users sudo rights to run the permission fixing shell script. I think that's good enough. No complaints so far. :P