You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "J.Bakshi" <jo...@infoservices.in> on 2008/03/13 08:37:38 UTC

[users@httpd] How to altter the default umask of apache ??

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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] How to altter the default umask of apache ??

Posted by "J.Bakshi" <jo...@infoservices.in>.
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@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] How to altter the default umask of apache ??

Posted by Sean Allen <se...@ardishealth.com>.
i always set the umask right in the startup script and it works.

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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org