I need to change the umask for apache user so that the other group memebers have write access to the files. The apache user has no login shell running under centos 5.6. Currently apache user have 022 umask and i need to change to 002 so that other group memeber can have write access to that file.
The httpd service runs under apache user and the file are created using php open file function.
Now i have couple of options
1. Add the line in httpd file as below and restart the service
2. change the uid of the apache user above 99 so that by default it gets the 002 umask as it has same group name as that of uid.
Not sure if the first approch works as i have got only one chance to test it.
Could anyone let me know if i am missing any steps in first step as i am thinking to add a line of umask 002 in /etc/init.d/httpd startup script at the start if the above step 1 doesnt work?
Last edited by phanidhar6039; 12-17-2013 at 11:21 AM..
trying to implement authz to a webpage using require ldap-group. It works, except I need to do apachectl restart before the server will observe an add or a delete to the group.
Seems like apache is acquiring the group membership at startup & caching it.
It's a static group.
I have apache... (0 Replies)
I have manually changed umak value by umask 0033 , After that i would like to change umask value into 0022 through shell scripting..
But it is changing while running the script. Once come out from script, it has not changed ...
plz Any... (4 Replies)
I have user ID created in AIX calld FTPuser in AppServer
Umask for this user ( FTPuser ) is umask 002
from my workstation I'm doing as the following
Connected to Appserver.
230 User FTPuser logged in.
file will be transferd but the issue... (1 Reply)
I am trying to eject the cdrom from a livecd after certain stage...
Now assuming that it is possible to eject,please consider my issue!!!
The OS boots into a regular user by default...so i am unable to use the eject command to push out the drive...
However if i try pfexec eject it... (3 Replies)
I want to do something and I don't know where to start... I want to make a small web hosting server (just for me and a few friends) and for the sake of learning I'd like to make an account for every user. The thing is that I want everyone to log into the server and to be put in his home... (3 Replies)
Do you know if it's possible to have the user list with their umask on AIX system ?
I need to check if they are OK but with smit and user by user, it will take all the day. :)
An idea ?
Thx a lot. (3 Replies)