[K12OSN] OT: need help configuring web server on Ubuntu Server to allow file uploads

Rob Owens rowens at ptd.net
Tue Apr 24 22:47:57 UTC 2007


On Tue, Apr 24, 2007 at 09:03:25AM +0900, Daniel Bodanske wrote:
> Look into setting up webdav on the server. If the teacher logs in to
> the server under webdav, files will automatically have the same owner
> as Apache. Setting it up is not too difficult.
> 
> Another option is to export the share under Samba with the teacher as
> the only acceptable user, then force the webserver user/group for all
> writes.

Samba has a "create mask" and "directory mask" parameter that you can
use to ensure that all files and folders created in a samba share have
the permissions that you want them to have.

-Rob 




More information about the K12OSN mailing list