Results 1 to 4 of 4
I have a web application which calls scripts on the linux box it's deployed on. Currently, there are some file permission issues which prevent the scripts from running properly. How ...
- 12-04-2010 #1Just Joined!
- Join Date
- Jan 2010
- Posts
- 16
How to give web application/daemons file permissions?
I have a web application which calls scripts on the linux box it's deployed on. Currently, there are some file permission issues which prevent the scripts from running properly. How can I give my web application the needed permissions? I thought of creating a user 'group' , assigning my web app to that group, and changing the ownership of the script files to the new group. Unfortunately, I'm having trouble with the following:
- What user id does my web app have?
- If my web app does not have an user id, how can I create and assign one to it?
Thanks.
- 12-04-2010 #2
Does your webapp run under Apache? Then it's the Apache user, mostly named www-data. If unsure, let your webapp create file and see which user it belongs to.
Refining Linux Advent calendar: “24 Outstanding ZSH Gems”
- 12-04-2010 #3Just Joined!
- Join Date
- Jan 2010
- Posts
- 16
- 12-04-2010 #4
That is not good at all. You should change your configuration to make Tomcat handle requests as an unprivileged user. This user then needs acess und execution rights for the appropriate files.
Refining Linux Advent calendar: “24 Outstanding ZSH Gems”


Reply With Quote
