![]() If you're running several projects on the same server and want to isolate them from each other, you can create a different user and group for each project, and add apache or www-data to all of the groups. ![]() You may also need to change the ownership of these directories and all their subdirectories to boincadm/boinc. To fix permissions on an existing project, do: When you create a BOINC project using make_project, the critical directories are owned by boincadm and have the set-GID bit set this means that any directories or files created by apache or Thus, both boincadm and apache or www-data will have read/write access to all directories and files, but other users will have no access. (the "566" is the group ID it may be different on your system).Īpache will need to be restarted for this to take effect.īoth boincadm and apache or Normally you can use a umask of 0002 or 0007. To solve this problem on Debian or Ubuntu, add www-data to the to group boincadm using ![]() In the following we'll assume that the project owner is boincadm, with primary group boincadm.īy default, the directories created by the apache web server user (on Fedora this is user ' apache' on Ubuntu or Debian it's ' To solve this problem on Fedora, add apache to the to group boincadm using The project owner may be your existing account, or you can create a new account for this purpose with useradd.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |