[Chicago-talk] chown inside a script

Randal L. Schwartz merlyn at stonehenge.com
Wed Dec 5 23:23:05 PST 2007

>>>>> "Jay" == Jay Strauss <me at heyjay.com> writes:

Jay> But I don't think that will work in my case, because I'm doing it from
Jay> a web page, I had to create an suid link to chown, to call from my
Jay> cgi.

Ouch.  Really dangerous.  Can you explain more about why you need
to change the ownership of a file *during a web hit*?

Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

More information about the Chicago-talk mailing list