[H-GEN] 1. Public Samba share 2. apache Samba share

Robert Stanford rob at rotapile.com
Tue Aug 5 17:47:39 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

On Mon, 2003-08-04 at 00:47, Alex Delaforce wrote:

> 
> 2. For my apache share I have read about forcing the files written via a
> Samba share to take on the 'apache' group or user owner. If anyone has a
> sample [web] share that includes this I would like to have this
> explained to me.
> 

For Debian, where apache runs as user and group www-data add

force user = www-data
force group = www-data

to the share definition in smb.conf
-- 
Robert Stanford <rob at rotapile.com>


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list