[BlueOnyx:04907] Re: php on subdomains

Michael Stauber mstauber at blueonyx.it
Sun Jul 4 02:58:26 -05 2010


Hi Jeff,

> My crazy SMB based file distribution system writes all files down as user
> 'admin' that then have to be chowned to user apache. So as well as being
> able to suphp to a chosen site admin, how about also being able to set it
> as the main admin account?
> 
> Only for dedicated (non shared) boxes mind!

As it is now siteAdmins can chown to one of the following:

- nobody
- any siteAdmin of that site

On top of that the serverAdmin can also chown to:

- apache

Chowning to "admin" will not be supported for security reasons. In fact our 
suPHP integration will not run any scripts with an UID lower than 501 ("admin" 
has UID 501).

OTOH: You could use the "force user" and/or "force group" parameters in your 
smb.conf to directly force Samba to fix the UID and/or GID of files created on 
that share.

See: http://www.samba.org/samba/docs/man/Samba-HOWTO-
Collection/AccessControls.html

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list