mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=5879
This commit is contained in:
parent
a714444b12
commit
428fbb2c98
|
@ -75,7 +75,7 @@ CViewResources::CViewResources(wxNotebook* pNotebook) :
|
||||||
BITMAP_TIPSHEADER = SECTION_TIPS + wxT(".xpm");
|
BITMAP_TIPSHEADER = SECTION_TIPS + wxT(".xpm");
|
||||||
|
|
||||||
LINKDESC_DEFAULT =
|
LINKDESC_DEFAULT =
|
||||||
_("No available options currently defined.");
|
_("No available commands");
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -330,7 +330,7 @@ CViewStatistics::CViewStatistics(wxNotebook* pNotebook) :
|
||||||
BITMAP_TIPSHEADER = SECTION_TIPS + wxT(".xpm");
|
BITMAP_TIPSHEADER = SECTION_TIPS + wxT(".xpm");
|
||||||
|
|
||||||
LINKDESC_DEFAULT =
|
LINKDESC_DEFAULT =
|
||||||
_("No available options currently defined.");
|
_("No available commands");
|
||||||
|
|
||||||
|
|
||||||
LINK_TASKUSERTOTAL = SECTION_TASK + wxT("user_total");
|
LINK_TASKUSERTOTAL = SECTION_TASK + wxT("user_total");
|
||||||
|
|
|
@ -172,6 +172,21 @@ DefaultType application/octet-stream
|
||||||
Suppose Apache runs as user 'apache'
|
Suppose Apache runs as user 'apache'
|
||||||
and BOINC daemons runs as user 'boincadm'.
|
and BOINC daemons runs as user 'boincadm'.
|
||||||
Directories created by apache need to be writeable to boincadm.
|
Directories created by apache need to be writeable to boincadm.
|
||||||
|
This can be done in any of several ways:
|
||||||
|
<ul>
|
||||||
|
<li> Use Apache's suexec mechanism
|
||||||
|
to make the CGI programs run as boincadm.
|
||||||
|
<li> Make the CGI programs setuid and owned by boincadm.
|
||||||
|
<li>
|
||||||
|
Edit /etc/group so that boincadm belongs
|
||||||
|
to group apache, i.e. the line:
|
||||||
|
<pre>
|
||||||
|
apache:x:48:
|
||||||
|
</pre>
|
||||||
|
becomes:
|
||||||
|
<pre>
|
||||||
|
apache:x:48:boincadm
|
||||||
|
</pre>
|
||||||
Add these two lines to the beginning of the apache start script
|
Add these two lines to the beginning of the apache start script
|
||||||
(called apachectl, usually in /usr/sbin on linux):
|
(called apachectl, usually in /usr/sbin on linux):
|
||||||
<pre>
|
<pre>
|
||||||
|
@ -180,20 +195,10 @@ Add these two lines to the beginning of the apache start script
|
||||||
</pre>
|
</pre>
|
||||||
Apache will need to be stopped/restarted for this to take effect.
|
Apache will need to be stopped/restarted for this to take effect.
|
||||||
|
|
||||||
<p>
|
|
||||||
You also need to edit /etc/group so that boincadm belongs
|
|
||||||
to group apache, i.e. the line:
|
|
||||||
<pre>
|
|
||||||
apache:x:48:
|
|
||||||
</pre>
|
|
||||||
becomes:
|
|
||||||
<pre>
|
|
||||||
apache:x:48:boincadm
|
|
||||||
</pre>
|
|
||||||
|
|
||||||
Now any file apache creates should have group writeable permissions
|
Now any file apache creates should have group writeable permissions
|
||||||
(thanks to the umask) and user boincadm, who now belongs to group
|
(thanks to the umask) and user boincadm, who now belongs to group
|
||||||
apache, should be able to update/delete these files.
|
apache, should be able to update/delete these files.
|
||||||
|
</ul>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue