Re: How to altter the default umask of apache ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sean Allen wrote:
> i always set the umask right in the startup script and it works.

Thanks for your response.
I have also tried to set umask in httpd.conf but it throws an error
message that misspelled directive umask :-(

Are you asking to put umask in /etc/init.d/httpd ?  If yes then where
can I put this setting ?
kindly suggest
best regards

>
> On Mar 13, 2008, at 3:37 AM, J.Bakshi wrote:
>
>> Dear list,
>>
>> After doing a full one day googling I am fade up and need some kind help
>> from this list.
>>
>> I have clerkconnect server ( enterprise edition 4.2 )
>>
>> The "httpd -v" shows
>>
>> ~~~~~~~~~~~~~~~~`
>> Server version: Apache/2.0.52
>> Server built:   Oct  9 2005 17:44:32
>> ~~~~~~~~~~~~~~~~~~~~~~
>>
>> the web server creates files with the permission rw_r__r__
>> so group only have the read permission. I like to alter the umask of the
>> apache server so that it will be 0002, hence group can write too.
>>
>> there is an umask setting at /etc/init.d/function   like umask 002.
>> I have modified it as "umask 002" and restarted the server. but still
>> the apache server crteates files with permission rw_r__r__
>>
>> So how can I modify the umask of apache2 in clarkconnect server ?
>>
>> kindly help me
>> thanks.
>>
>> --~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Joydeep Bakshi, Linux System Admin
>> Kolkatainfoservices Pvt Ltd,
>> 23A Royd Street, Kolkata 700016, India
>> Work Phone 91 033 40014784
>> http://infoservices.in/
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Joydeep Bakshi, Linux System Admin
Kolkatainfoservices Pvt Ltd,
23A Royd Street, Kolkata 700016, India
Work Phone 91 033 40014784
http://infoservices.in/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux