Apache Server configuration support - apache umask for directories?

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > February 2006 > apache umask for directories?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author apache umask for directories?
MZ

2006-02-26, 11:24 am

[using freebsd 5.3 and the latest apache]

Is there a way to specify a umask-type of command for individual web
directories? For example, if any user uploads a file to dir1, I want the
permissions to be 775. But if they're uploading to a different directory, I
want the permissions to be 770. It would be nice to be able to specify the
write mode in each directory declaration in httpd.conf.

Is it possible?


Davide Bianchi

2006-02-26, 11:24 am

On 2006-02-23, MZ <myfirstname@mdz.remove.no-ip.removethistoo.org> wrote:
> want the permissions to be 770. It would be nice to be able to specify the
> write mode in each directory declaration in httpd.conf.


Apache doesn't handle upload of files, so you configure that in your
application or in your ftp configuration.

Davide

--
Coming soon: Visual Edlin for Windows.
MZ

2006-02-26, 11:24 am

"Davide Bianchi" <davideyeahsure@onlyforfun.net> wrote in message
news:slrndvs3dm.1qm.davideyeahsure@fogg.onlyforfun.net...
> On 2006-02-23, MZ <myfirstname@mdz.remove.no-ip.removethistoo.org> wrote:
the[vbcol=seagreen]
>
> Apache doesn't handle upload of files, so you configure that in your
> application or in your ftp configuration.


The problem I'm running into specifically is the transfer of files to the
server via WebDAV. When I do so, the owner name is the apache one (that's
fine) but the permissions are 640 or something. How do I modify this
through WebDAV then? I thought that would fall under the realm of apache.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com