473,473 Members | 1,965 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

lack of suexec behavior

suexec on old perl cgi processes was useful:
A cgi process (run by the apache process)
could create files that belonged to me.

Php usually runs as an '.so' library, owned by
the apache process, which is more efficient.
But it means all files (even in my filesystem
space) created by php/apache end up owned
by apache. This is an enormous pain the butt,
particularly when complicated by 'safe_mode'
restrictions.

Why can't the php kernel be hacked to fork
a full-fledged, separate process, that
uses setuid owner for certain key file system
chores: perhaps only for certain newly created functions,
like "mkUserOwnedDir() or openUserOwnedFile()"
Jul 17 '05 #1
0 1193

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Chris S | last post by:
Hi, I have been running PHP as a CGI for a few months now (using suExec patch @ http://www.localhost.nl/patches/apache_1.3.27-php-suexec-patch). I decided to upgrade to version 4.3.2 (from 4.3.1)....
0
by: Joan McGalliard | last post by:
My web host has turned on PHP SuExec, which has completely broken my site, and they don't seem to be able to give me information. Google search is hopeless for this, as "html" appears on most...
1
by: Adam Szendzielorz | last post by:
Hello! I'm searching patch for Apache SuEXEC (1.3.*) which get me gate to work PHP (compiled with --enable-fastcgi) with mod_fastcgi. SuEXEC check owner/group of script before run script, i...
6
by: Bill Sneddon | last post by:
Below is from python 2.3.3 on windows. I have tryed on Pythonwin and Idle and on a Solaris unix build 2.2.2. I know there are work arounds but the behavior seems a bit strange to me. >>>...
6
by: mswlogo | last post by:
There are many threads on the lack of a true unmanaged C++ const like behavior in C# (.Net) and that's not what this topic is about. The topic is, what is the best practical way to live with it. ...
1
by: Steve | last post by:
Why does the Visual Studio editor fail to indent cases under switch statements and public/private/protected in class definitions? I've been working with Visual Studio since 4.x and it's always been...
7
by: jmp | last post by:
(I hope this isn't considered too far off-topic.) I work as a developer on a browser product found on handheld devices, and I'm trying to specify behavior for the browser to make it "as...
0
by: mtindia | last post by:
Hi i m looking for feedback forms with php SUEXEC plz help me out & provied me the same
76
by: KimmoA | last post by:
First of all: I love C and think that it's beautiful. However, there is at least one MAJOR flaw: the lack of a boolean type. OK. Some of you might refer to C99 and its _Bool (what's up with the...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.